#89831F#89831F
#89831F is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.7% C 0.116 H 105.9°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #89831F |
|---|---|
| RGB | rgb(137, 131, 31) |
| HSL | hsl(57, 63%, 33%) |
| HSV | hsv(57, 77%, 54%) |
| CMYK | cmyk(0%, 4.4%, 77.4%, 46.3%) |
| CIE-LAB | lab(53.65, -9.53, 50.99) |
| CIE-LCH | lch(53.65, 51.87, 100.58°) |
| OKLab | oklab(59.72% -0.0318 0.1117) |
| OKLCH | oklch(59.72% 0.116 105.9) |
| XYZ | xyz(18.6809, 21.6506, 4.4910) |
| Luminance | 0.2165 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.85
Shit Green
#758000
ΔE00 5.40
Baby Poop
#937C00
ΔE00 5.80
Swamp Green
#748500
ΔE00 6.33
Drab
#828344
ΔE00 6.37
Poop Green
#6F7C00
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#89831F #1F2589
analogous
#894E1F #89831F #5A891F
triadic
#89831F #1F8983 #831F89
tetradic
#89831F #1F894E #1F2589 #891F5A
square
#89831F #1F894E #1F2589 #891F5A
split-complementary
#89831F #1F5A89 #4E1F89
monochromatic
#252408 #575314 #89831F #BBB32A #D6CF4C
Accessibility & contrast
On white
3.94
#89831F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.33
#89831F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #89831F
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##89831F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##89831F | 1.00 | 3.94 | 5.33 | 5.33 |
| #FFFFFF | 3.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E08
Deuteranopia (green-blind)
#918227
Tritanopia (blue-blind)
#947A70
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #89831f; /* rgb */ color: rgb(137, 131, 31); /* oklch */ color: oklch(59.7% 0.116 105.9);
Tailwind
colors: {
custom: {
50: '#afa663',
500: '#89831f',
950: '#000000',
},
}SCSS
$custom: #89831f; $custom-light: #afa663; $custom-dark: #000000;
JSON
{
"hex": "#89831f",
"rgb": {
"r": 137,
"g": 131,
"b": 31
},
"hsl": {
"h": 56.604,
"s": 63.095,
"l": 32.941
},
"oklch": {
"l": 0.5972,
"c": 0.11616,
"h": 105.9
},
"luminance": 0.2165
}Semantic roles & 50–950 ramp
primary
#89831F
secondary
#4B51B9
accent
#4BE642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A