#89871D#89871D
#89871D is a mid, vivid yellow. Relative luminance 0.227; OKLCH L 60.6% C 0.121 H 108.4°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #89871D |
|---|---|
| RGB | rgb(137, 135, 29) |
| HSL | hsl(59, 65%, 33%) |
| HSV | hsv(59, 79%, 54%) |
| CMYK | cmyk(0%, 1.5%, 78.8%, 46.3%) |
| CIE-LAB | lab(54.80, -11.78, 52.72) |
| CIE-LCH | lch(54.80, 54.02, 102.59°) |
| OKLab | oklab(60.63% -0.0383 0.115) |
| OKLCH | oklch(60.63% 0.121 108.4) |
| XYZ | xyz(19.2030, 22.7357, 4.5390) |
| Luminance | 0.2273 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.08
Shit Green
#758000
ΔE00 5.06
Swamp Green
#748500
ΔE00 5.43
Baby Poop Green
#8F9805
ΔE00 6.26
Baby Shit Green
#889717
ΔE00 6.30
Pea Soup
#929901
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#89871D #1D1F89
analogous
#89511D #89871D #55891D
triadic
#89871D #1D8987 #871D89
tetradic
#89871D #1D8951 #1D1F89 #891D55
square
#89871D #1D8951 #1D1F89 #891D55
split-complementary
#89871D #1D5589 #511D89
monochromatic
#242308 #565512 #89871D #BCB928 #D8D648
Accessibility & contrast
On white
3.79
#89871D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.55
#89871D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #89871D
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##89871D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##89871D | 1.00 | 3.79 | 5.55 | 5.55 |
| #FFFFFF | 3.79 | 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)
#938101
Deuteranopia (green-blind)
#948526
Tritanopia (blue-blind)
#937E73
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #89871d; /* rgb */ color: rgb(137, 135, 29); /* oklch */ color: oklch(60.6% 0.121 108.4);
Tailwind
colors: {
custom: {
50: '#afa963',
500: '#89871d',
950: '#000000',
},
}SCSS
$custom: #89871d; $custom-light: #afa963; $custom-dark: #000000;
JSON
{
"hex": "#89871d",
"rgb": {
"r": 137,
"g": 135,
"b": 29
},
"hsl": {
"h": 58.889,
"s": 65.06,
"l": 32.549
},
"oklch": {
"l": 0.6063,
"c": 0.12122,
"h": 108.4
},
"luminance": 0.22735
}Semantic roles & 50–950 ramp
primary
#89871D
secondary
#474ABA
accent
#43E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A