#89841F#89841F
#89841F is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.0% C 0.117 H 106.5°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #89841F |
|---|---|
| RGB | rgb(137, 132, 31) |
| HSL | hsl(57, 63%, 33%) |
| HSV | hsv(57, 77%, 54%) |
| CMYK | cmyk(0%, 3.6%, 77.4%, 46.3%) |
| CIE-LAB | lab(53.94, -10.07, 51.26) |
| CIE-LCH | lch(53.94, 52.24, 101.11°) |
| OKLab | oklab(59.95% -0.0333 0.1123) |
| OKLCH | oklch(59.95% 0.117 106.5) |
| XYZ | xyz(18.8159, 21.9205, 4.5360) |
| Luminance | 0.2192 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.83
Shit Green
#758000
ΔE00 5.27
Swamp Green
#748500
ΔE00 6.07
Baby Poop
#937C00
ΔE00 6.14
Drab
#828344
ΔE00 6.37
Poop Green
#6F7C00
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#89841F #1F2489
analogous
#894F1F #89841F #59891F
triadic
#89841F #1F8984 #841F89
tetradic
#89841F #1F894F #1F2489 #891F59
square
#89841F #1F894F #1F2489 #891F59
split-complementary
#89841F #1F5989 #4F1F89
monochromatic
#252408 #575414 #89841F #BBB42A #D6D04C
Accessibility & contrast
On white
3.90
#89841F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.38
#89841F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #89841F
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##89841F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##89841F | 1.00 | 3.90 | 5.38 | 5.38 |
| #FFFFFF | 3.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F08
Deuteranopia (green-blind)
#928327
Tritanopia (blue-blind)
#937B71
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #89841f; /* rgb */ color: rgb(137, 132, 31); /* oklch */ color: oklch(60.0% 0.117 106.5);
Tailwind
colors: {
custom: {
50: '#afa763',
500: '#89841f',
950: '#000000',
},
}SCSS
$custom: #89841f; $custom-light: #afa763; $custom-dark: #000000;
JSON
{
"hex": "#89841f",
"rgb": {
"r": 137,
"g": 132,
"b": 31
},
"hsl": {
"h": 57.17,
"s": 63.095,
"l": 32.941
},
"oklch": {
"l": 0.5995,
"c": 0.11714,
"h": 106.5
},
"luminance": 0.2192
}Semantic roles & 50–950 ramp
primary
#89841F
secondary
#4B50B9
accent
#49E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A