#8E7E1D#8E7E1D
#8E7E1D is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.1% C 0.113 H 99.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8E7E1D |
|---|---|
| RGB | rgb(142, 126, 29) |
| HSL | hsl(52, 66%, 34%) |
| HSV | hsv(52, 80%, 56%) |
| CMYK | cmyk(0%, 11.3%, 79.6%, 44.3%) |
| CIE-LAB | lab(52.69, -4.54, 50.97) |
| CIE-LCH | lch(52.69, 51.18, 95.09°) |
| OKLab | oklab(59.06% -0.0182 0.1111) |
| OKLCH | oklch(59.06% 0.113 99.3) |
| XYZ | xyz(18.8389, 20.7621, 4.1774) |
| Luminance | 0.2076 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.86
Hazel
#8E7618
ΔE00 3.66
Puke Brown
#947706
ΔE00 4.62
Diarrhea
#9F8303
ΔE00 5.02
Olive
#808000
ΔE00 5.15
Poo
#8F7303
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E7E1D #1D2D8E
analogous
#8E451D #8E7E1D #658E1D
triadic
#8E7E1D #1D8E7E #7E1D8E
tetradic
#8E7E1D #1D8E45 #1D2D8E #8E1D65
square
#8E7E1D #1D8E45 #1D2D8E #8E1D65
split-complementary
#8E7E1D #1D658E #451D8E
monochromatic
#282408 #5B5113 #8E7E1D #C1AB27 #DAC64B
Accessibility & contrast
On white
4.08
#8E7E1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#8E7E1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E7E1D
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E7E1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E7E1D | 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)
#8B7A06
Deuteranopia (green-blind)
#8F8024
Tritanopia (blue-blind)
#9A746C
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8e7e1d; /* rgb */ color: rgb(142, 126, 29); /* oklch */ color: oklch(59.1% 0.113 99.3);
Tailwind
colors: {
custom: {
50: '#b3a362',
500: '#8e7e1d',
950: '#000000',
},
}SCSS
$custom: #8e7e1d; $custom-light: #b3a362; $custom-dark: #000000;
JSON
{
"hex": "#8e7e1d",
"rgb": {
"r": 142,
"g": 126,
"b": 29
},
"hsl": {
"h": 51.504,
"s": 66.082,
"l": 33.529
},
"oklch": {
"l": 0.59061,
"c": 0.11255,
"h": 99.3
},
"luminance": 0.20761
}Semantic roles & 50–950 ramp
primary
#8E7E1D
secondary
#4A5ABD
accent
#57E93F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A