Olive
#808000
Olive is a yellow tone at #808000. It sits at 60 degrees on the color wheel with 100% saturation and 25% lightness.
Color values
#808000
Olive is a yellow tone at #808000. It sits at 60 degrees on the color wheel with 100% saturation and 25% lightness.
Color values
Tints mix Olive with white, shades mix it with black. Use the light end for backgrounds and the dark end for text that has to stay readable.
On white4.2:1
Large text onlyOn black5.01:1
Passes AA for body textCheck a specific pairing in the contrast checker.
4 questions people ask about Olive.
The hex code for Olive is #808000. In RGB that is rgb(128, 128, 0), and in HSL it is hsl(60, 100%, 25%).
Olive is 128 red, 128 green, and 0 blue, written as rgb(128, 128, 0).
Olive scores 4.2:1 against white. WCAG AA needs 4.5:1 for body text, so it fails and should be used for fills or borders rather than type.
Yes. You can write color: olive directly in CSS, which every browser resolves to #808000.