#89871B#89871B
#89871B is a mid, vivid yellow. Relative luminance 0.227; OKLCH L 60.6% C 0.122 H 108.4°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #89871B |
|---|---|
| RGB | rgb(137, 135, 27) |
| HSL | hsl(59, 67%, 32%) |
| HSV | hsv(59, 80%, 54%) |
| CMYK | cmyk(0%, 1.5%, 80.3%, 46.3%) |
| CIE-LAB | lab(54.79, -11.86, 53.35) |
| CIE-LCH | lch(54.79, 54.65, 102.53°) |
| OKLab | oklab(60.62% -0.0386 0.116) |
| OKLCH | oklch(60.62% 0.122 108.4) |
| XYZ | xyz(19.1791, 22.7261, 4.4130) |
| Luminance | 0.2273 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.01
Shit Green
#758000
ΔE00 5.04
Swamp Green
#748500
ΔE00 5.41
Baby Poop Green
#8F9805
ΔE00 6.20
Baby Shit Green
#889717
ΔE00 6.28
Pea Soup
#929901
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#89871B #1B1D89
analogous
#89501B #89871B #54891B
triadic
#89871B #1B8987 #871B89
tetradic
#89871B #1B8950 #1B1D89 #891B54
square
#89871B #1B8950 #1B1D89 #891B54
split-complementary
#89871B #1B5489 #501B89
monochromatic
#232207 #565511 #89871B #BCB925 #DAD744
Accessibility & contrast
On white
3.79
#89871B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.55
#89871B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #89871B
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##89871B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##89871B | 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)
#938100
Deuteranopia (green-blind)
#948524
Tritanopia (blue-blind)
#937E73
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #89871b; /* rgb */ color: rgb(137, 135, 27); /* oklch */ color: oklch(60.6% 0.122 108.4);
Tailwind
colors: {
custom: {
50: '#afa962',
500: '#89871b',
950: '#000000',
},
}SCSS
$custom: #89871b; $custom-light: #afa962; $custom-dark: #000000;
JSON
{
"hex": "#89871b",
"rgb": {
"r": 137,
"g": 135,
"b": 27
},
"hsl": {
"h": 58.909,
"s": 67.073,
"l": 32.157
},
"oklch": {
"l": 0.60619,
"c": 0.12225,
"h": 108.4
},
"luminance": 0.22725
}Semantic roles & 50–950 ramp
primary
#89871B
secondary
#4446BC
accent
#41EA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A