#8E893A#8E893A
#8E893A is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.8% C 0.101 H 105.6°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #8E893A |
|---|---|
| RGB | rgb(142, 137, 58) |
| HSL | hsl(56, 42%, 39%) |
| HSV | hsv(56, 59%, 56%) |
| CMYK | cmyk(0%, 3.5%, 59.2%, 44.3%) |
| CIE-LAB | lab(56.04, -8.88, 42.12) |
| CIE-LCH | lch(56.04, 43.05, 101.90°) |
| OKLab | oklab(61.79% -0.0272 0.0974) |
| OKLCH | oklch(61.79% 0.101 105.6) |
| XYZ | xyz(20.8654, 23.9483, 7.5255) |
| Luminance | 0.2395 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 4.38
Dark Khaki
#9B8F55
ΔE00 5.36
Olive
#808000
ΔE00 6.13
Camo
#7F8F4E
ΔE00 7.30
Shit Green
#758000
ΔE00 7.56
Baby Shit Green
#889717
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E893A #3A3F8E
analogous
#8E5F3A #8E893A #698E3A
triadic
#8E893A #3A8E89 #893A8E
tetradic
#8E893A #3A8E5F #3A3F8E #8E3A69
square
#8E893A #3A8E5F #3A3F8E #8E3A69
split-complementary
#8E893A #3A698E #5F3A8E
monochromatic
#373517 #635F28 #8E893A #B7B14E #C9C47A
Accessibility & contrast
On white
3.63
#8E893A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.79
#8E893A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E893A
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E893A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E893A | 1.00 | 3.63 | 5.79 | 5.79 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948432
Deuteranopia (green-blind)
#96883E
Tritanopia (blue-blind)
#988178
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #8e893a; /* rgb */ color: rgb(142, 137, 58); /* oklch */ color: oklch(61.8% 0.101 105.6);
Tailwind
colors: {
custom: {
50: '#b1ab73',
500: '#8e893a',
950: '#000000',
},
}SCSS
$custom: #8e893a; $custom-light: #b1ab73; $custom-dark: #000000;
JSON
{
"hex": "#8e893a",
"rgb": {
"r": 142,
"g": 137,
"b": 58
},
"hsl": {
"h": 56.429,
"s": 42,
"l": 39.216
},
"oklch": {
"l": 0.61793,
"c": 0.1011,
"h": 105.6
},
"luminance": 0.23948
}Semantic roles & 50–950 ramp
primary
#8E893A
secondary
#7276B2
accent
#5DD256
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B