#89871F#89871F
#89871F is a mid, vivid yellow. Relative luminance 0.227; OKLCH L 60.6% C 0.120 H 108.4°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #89871F |
|---|---|
| RGB | rgb(137, 135, 31) |
| HSL | hsl(59, 63%, 33%) |
| HSV | hsv(59, 77%, 54%) |
| CMYK | cmyk(0%, 1.5%, 77.4%, 46.3%) |
| CIE-LAB | lab(54.81, -11.69, 52.06) |
| CIE-LCH | lch(54.81, 53.36, 102.66°) |
| OKLab | oklab(60.64% -0.0378 0.114) |
| OKLCH | oklch(60.64% 0.12 108.4) |
| XYZ | xyz(19.2286, 22.7459, 4.6736) |
| Luminance | 0.2275 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.16
Shit Green
#758000
ΔE00 5.09
Swamp Green
#748500
ΔE00 5.45
Baby Shit Green
#889717
ΔE00 6.33
Baby Poop Green
#8F9805
ΔE00 6.33
Drab
#828344
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#89871F #1F2189
analogous
#89521F #89871F #56891F
triadic
#89871F #1F8987 #871F89
tetradic
#89871F #1F8952 #1F2189 #891F56
square
#89871F #1F8952 #1F2189 #891F56
split-complementary
#89871F #1F5689 #521F89
monochromatic
#252508 #575614 #89871F #BBB82A #D6D44C
Accessibility & contrast
On white
3.78
#89871F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.55
#89871F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #89871F
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##89871F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##89871F | 1.00 | 3.78 | 5.55 | 5.55 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938106
Deuteranopia (green-blind)
#948527
Tritanopia (blue-blind)
#937E73
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #89871f; /* rgb */ color: rgb(137, 135, 31); /* oklch */ color: oklch(60.6% 0.120 108.4);
Tailwind
colors: {
custom: {
50: '#afa964',
500: '#89871f',
950: '#000000',
},
}SCSS
$custom: #89871f; $custom-light: #afa964; $custom-dark: #000000;
JSON
{
"hex": "#89871f",
"rgb": {
"r": 137,
"g": 135,
"b": 31
},
"hsl": {
"h": 58.868,
"s": 63.095,
"l": 32.941
},
"oklch": {
"l": 0.60642,
"c": 0.12012,
"h": 108.4
},
"luminance": 0.22745
}Semantic roles & 50–950 ramp
primary
#89871F
secondary
#4B4DB9
accent
#45E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A