#8E871F#8E871F
#8E871F is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.1% C 0.119 H 105.4°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #8E871F |
|---|---|
| RGB | rgb(142, 135, 31) |
| HSL | hsl(56, 64%, 34%) |
| HSV | hsv(56, 78%, 56%) |
| CMYK | cmyk(0%, 4.9%, 78.2%, 44.3%) |
| CIE-LAB | lab(55.26, -9.41, 52.63) |
| CIE-LCH | lch(55.26, 53.47, 100.13°) |
| OKLab | oklab(61.11% -0.0317 0.115) |
| OKLCH | oklch(61.11% 0.119 105.4) |
| XYZ | xyz(20.0675, 23.1784, 4.7129) |
| Luminance | 0.2318 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.90
Baby Poop
#937C00
ΔE00 5.97
Shit Green
#758000
ΔE00 6.40
Diarrhea
#9F8303
ΔE00 6.68
Baby Poop Green
#8F9805
ΔE00 6.76
Pea Soup
#929901
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E871F #1F268E
analogous
#8E501F #8E871F #5E8E1F
triadic
#8E871F #1F8E87 #871F8E
tetradic
#8E871F #1F8E50 #1F268E #8E1F5E
square
#8E871F #1F8E50 #1F268E #8E1F5E
split-complementary
#8E871F #1F5E8E #501F8E
monochromatic
#2A2709 #5C5714 #8E871F #C0B72A #D9D04F
Accessibility & contrast
On white
3.73
#8E871F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.64
#8E871F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E871F
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E871F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E871F | 1.00 | 3.73 | 5.64 | 5.64 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938206
Deuteranopia (green-blind)
#968627
Tritanopia (blue-blind)
#997D73
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #8e871f; /* rgb */ color: rgb(142, 135, 31); /* oklch */ color: oklch(61.1% 0.119 105.4);
Tailwind
colors: {
custom: {
50: '#b3a964',
500: '#8e871f',
950: '#000000',
},
}SCSS
$custom: #8e871f; $custom-light: #b3a964; $custom-dark: #000000;
JSON
{
"hex": "#8e871f",
"rgb": {
"r": 142,
"g": 135,
"b": 31
},
"hsl": {
"h": 56.216,
"s": 64.162,
"l": 33.922
},
"oklch": {
"l": 0.61105,
"c": 0.1193,
"h": 105.4
},
"luminance": 0.23178
}Semantic roles & 50–950 ramp
primary
#8E871F
secondary
#4D54BB
accent
#4BE741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A