#8E7E1E#8E7E1E
#8E7E1E is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.1% C 0.112 H 99.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8E7E1E |
|---|---|
| RGB | rgb(142, 126, 30) |
| HSL | hsl(51, 65%, 34%) |
| HSV | hsv(51, 79%, 56%) |
| CMYK | cmyk(0%, 11.3%, 78.9%, 44.3%) |
| CIE-LAB | lab(52.69, -4.50, 50.63) |
| CIE-LCH | lch(52.69, 50.83, 95.08°) |
| OKLab | oklab(59.07% -0.018 0.1105) |
| OKLCH | oklch(59.07% 0.112 99.3) |
| XYZ | xyz(18.8515, 20.7672, 4.2435) |
| Luminance | 0.2077 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.93
Hazel
#8E7618
ΔE00 3.65
Puke Brown
#947706
ΔE00 4.64
Diarrhea
#9F8303
ΔE00 5.07
Olive
#808000
ΔE00 5.19
Poo
#8F7303
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E7E1E #1E2E8E
analogous
#8E461E #8E7E1E #668E1E
triadic
#8E7E1E #1E8E7E #7E1E8E
tetradic
#8E7E1E #1E8E46 #1E2E8E #8E1E66
square
#8E7E1E #1E8E46 #1E2E8E #8E1E66
split-complementary
#8E7E1E #1E668E #461E8E
monochromatic
#292409 #5B5113 #8E7E1E #C1AB29 #D9C54D
Accessibility & contrast
On white
4.08
#8E7E1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#8E7E1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E7E1E
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E7E1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E7E1E | 1.00 | 4.08 | 5.15 | 5.15 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7A08
Deuteranopia (green-blind)
#8F8025
Tritanopia (blue-blind)
#9A746C
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8e7e1e; /* rgb */ color: rgb(142, 126, 30); /* oklch */ color: oklch(59.1% 0.112 99.3);
Tailwind
colors: {
custom: {
50: '#b3a362',
500: '#8e7e1e',
950: '#000000',
},
}SCSS
$custom: #8e7e1e; $custom-light: #b3a362; $custom-dark: #000000;
JSON
{
"hex": "#8e7e1e",
"rgb": {
"r": 142,
"g": 126,
"b": 30
},
"hsl": {
"h": 51.429,
"s": 65.116,
"l": 33.725
},
"oklch": {
"l": 0.59067,
"c": 0.11199,
"h": 99.3
},
"luminance": 0.20766
}Semantic roles & 50–950 ramp
primary
#8E7E1E
secondary
#4C5CBC
accent
#58E840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A