808000 (olive) — RGB, HSL, CMYK and Contrast

Every value recomputed from the hex code · WCAG 2.1 contrast ratios

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.

808000

Notation conversions

NotationValue
HEX808000
RGBrgb(128, 128, 0)
HSLhsl(60, 100%, 25%)
CMYKcmyk(0%, 0%, 100%, 50%)
Relative luminance0.2003
Perceived brightness44.5 / 100
R=128 G=128 B=0 · hue 60.0° · saturation 100.0% · lightness 25.1%

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.

AgainstHexRatioAA textAA largeAAA text
#FFFFFFwhite4.20:1failpassfail
#000000black5.01:1passpassfail

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.

StepHexHSLvs white text
shade -30 #000000hsl(60, 100%, 0%)21.00:1
shade -20 #1a1a00hsl(60, 100%, 5%)17.62:1
shade -10 #4d4d00hsl(60, 100%, 15%)8.83:1
tint +10 #b3b300hsl(60, 100%, 35%)2.24:1
tint +20 #e6e600hsl(60, 100%, 45%)1.34:1
tint +30 #ffff1ahsl(60, 100%, 55%)1.07:1

Harmonies

SchemeHex
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.