Olive#808000

Olive Hex Code: #808000

Olive is a medium, moderately saturated yellow. Its OKLCH lightness is 58% and chroma 0.127. Text on this color reads best in black (contrast 5.01:1).

HEX#808000
RGBrgb(128, 128, 0)
HSLhsl(60, 100%, 25%)
HSV / HSBhsv(60, 100%, 50%)
CMYKcmyk(0%, 0%, 100%, 50%)
OKLCHoklch(58.1% 0.127 109.8)

Open in converter →

Contrast

White text4.20:1
AAAA largeAAA
Black text5.01:1
AAAA largeAAA
On white4.20:1
AAAA largeAAA
On black5.01:1
AAAA largeAAA

Tints

Shades

Matching colors

Similar named colors

All color names →

Code

CSScolor: #808000;
Tailwindbg-[#808000]
SwiftUIColor(red: 0.502, green: 0.502, blue: 0)
AndroidColor.parseColor("#808000")
FlutterColor(0xFF808000)

Olive is a CSS named color (olive); the value follows W3C CSS Color Module Level 4.

Frequently asked questions

What is the hex code for olive?

Olive is #808000 in hex and rgb(128, 128, 0) in RGB.

What is olive in CMYK?

With the plain conversion formula it is cmyk(0, 0, 100, 50). For print, convert with your printer's ICC profile instead.

What text color works on olive?

Black text has the higher contrast at 5.01:1, which passes WCAG AA for normal text (4.5:1).