#8E892B#8E892B
#8E892B is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.6% C 0.114 H 106.3°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #8E892B |
|---|---|
| RGB | rgb(142, 137, 43) |
| HSL | hsl(57, 54%, 36%) |
| HSV | hsv(57, 70%, 56%) |
| CMYK | cmyk(0%, 3.5%, 69.7%, 44.3%) |
| CIE-LAB | lab(55.90, -9.90, 48.72) |
| CIE-LCH | lch(55.90, 49.71, 101.48°) |
| OKLab | oklab(61.65% -0.0319 0.109) |
| OKLCH | oklch(61.65% 0.114 106.3) |
| XYZ | xyz(20.5378, 23.8172, 5.8004) |
| Luminance | 0.2382 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.67
Drab
#828344
ΔE00 6.07
Baby Poop Green
#8F9805
ΔE00 6.55
Shit Green
#758000
ΔE00 6.58
Baby Shit Green
#889717
ΔE00 6.65
Pea Soup
#929901
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E892B #2B308E
analogous
#8E582B #8E892B #628E2B
triadic
#8E892B #2B8E89 #892B8E
tetradic
#8E892B #2B8E58 #2B308E #8E2B62
square
#8E892B #2B8E58 #2B308E #8E2B62
split-complementary
#8E892B #2B628E #582B8E
monochromatic
#302E0F #5F5C1D #8E892B #BDB639 #D0CA63
Accessibility & contrast
On white
3.64
#8E892B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.76
#8E892B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E892B
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E892B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E892B | 1.00 | 3.64 | 5.76 | 5.76 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#95841D
Deuteranopia (green-blind)
#978831
Tritanopia (blue-blind)
#988076
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #8e892b; /* rgb */ color: rgb(142, 137, 43); /* oklch */ color: oklch(61.6% 0.114 106.3);
Tailwind
colors: {
custom: {
50: '#b2ab6a',
500: '#8e892b',
950: '#000000',
},
}SCSS
$custom: #8e892b; $custom-light: #b2ab6a; $custom-dark: #000000;
JSON
{
"hex": "#8e892b",
"rgb": {
"r": 142,
"g": 137,
"b": 43
},
"hsl": {
"h": 56.97,
"s": 53.514,
"l": 36.275
},
"oklch": {
"l": 0.61646,
"c": 0.11357,
"h": 106.3
},
"luminance": 0.23817
}Semantic roles & 50–950 ramp
primary
#8E892B
secondary
#5F63B6
accent
#52DD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A