808000 (olive) — RGB, HSL, CMYK and Contrast
A yellow at 25% lightness and 100% saturation, which puts it at 4.20:1 against white and 5.01:1 against black. The tables below give the notation conversions, the tints and shades that keep the hue intact, and the harmonies that pair with it.
Notation conversions
| Notation | Value |
|---|---|
| HEX | 808000 |
| RGB | rgb(128, 128, 0) |
| HSL | hsl(60, 100%, 25%) |
| CMYK | cmyk(0%, 0%, 100%, 50%) |
| Relative luminance | 0.2003 |
| Perceived brightness | 44.5 / 100 |
Contrast against pure white and pure black
Pair this colour with the two extremes to see which is the safer text partner. AA needs 4.5:1 for body text and 3:1 for large text; AAA raises that to 7:1 and 4.5:1.
| Against | Hex | Ratio | AA text | AA large | AAA text |
|---|---|---|---|---|---|
| #FFFFFF | white | 4.20:1 | fail | pass | fail |
| #000000 | black | 5.01:1 | pass | pass | fail |
Tints and shades
Lightness moves in ten-point steps while hue and saturation stay fixed, which keeps the colour recognisable in a scale. The last column is the ratio against white text, useful for deciding where a scale stops working as a background.
| Step | Hex | HSL | vs white text |
|---|---|---|---|
| shade -30 | #000000 | hsl(60, 100%, 0%) | 21.00:1 |
| shade -20 | #1a1a00 | hsl(60, 100%, 5%) | 17.62:1 |
| shade -10 | #4d4d00 | hsl(60, 100%, 15%) | 8.83:1 |
| tint +10 | #b3b300 | hsl(60, 100%, 35%) | 2.24:1 |
| tint +20 | #e6e600 | hsl(60, 100%, 45%) | 1.34:1 |
| tint +30 | #ffff1a | hsl(60, 100%, 55%) | 1.07:1 |
Harmonies
| Scheme | Hex |
|---|---|
| Complementary | #000080 |
| Analogous −30 | #804000 |
| Analogous +30 | #408000 |
| Triadic −120 | #800080 |
| Triadic +120 | #008080 |
Measured rather than eyeballed: hue 60.0°, saturation 100.0%, lightness 25.1%, relative luminance 0.2003 — four decimals is the precision the WCAG formula actually needs — and perceived brightness 44.5 out of 100. Entry 14 of 69 in this library, it scores 4.20:1 on white and 5.01:1 on black, a 0.81 spread. The complementary #000080 sits 180° away on the wheel, and the scale brackets it with #000000 below and #ffff1a above.
Nearby colours
Frequently asked questions
What text colour should sit on 808000?
Black gives 5.01:1 and white gives 4.20:1, so black wins at 5.01:1. That clears the 4.5:1 AA threshold for normal text, but not the 7:1 AAA threshold.
Do the CMYK numbers match a print workflow?
They are the naive conversion from RGB, which assumes no ink limit, no colour profile and no black generation strategy. Real print work needs a profile-aware conversion; the values here are the ones the converter reports and are best used as a starting point for a designer rather than a press-ready separations file.
Convert any other colour, or test a pair against each other, in the ColrShift colour converter and contrast checker. The colour library groups every entry on this site by hue family.