#8E7E19#8E7E19
#8E7E19 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 59.0% C 0.115 H 99.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8E7E19 |
|---|---|
| RGB | rgb(142, 126, 25) |
| HSL | hsl(52, 70%, 33%) |
| HSV | hsv(52, 82%, 56%) |
| CMYK | cmyk(0%, 11.3%, 82.4%, 44.3%) |
| CIE-LAB | lab(52.67, -4.70, 52.28) |
| CIE-LCH | lch(52.67, 52.49, 95.13°) |
| OKLab | oklab(59.04% -0.019 0.113) |
| OKLCH | oklch(59.04% 0.115 99.6) |
| XYZ | xyz(18.7926, 20.7436, 3.9336) |
| Luminance | 0.2074 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.64
Hazel
#8E7618
ΔE00 3.72
Puke Brown
#947706
ΔE00 4.56
Diarrhea
#9F8303
ΔE00 4.88
Olive
#808000
ΔE00 5.02
Poo
#8F7303
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E7E19 #19298E
analogous
#8E4419 #8E7E19 #638E19
triadic
#8E7E19 #198E7E #7E198E
tetradic
#8E7E19 #198E44 #19298E #8E1963
square
#8E7E19 #198E44 #19298E #8E1963
split-complementary
#8E7E19 #19638E #44198E
monochromatic
#262207 #5A5010 #8E7E19 #C2AC22 #DEC943
Accessibility & contrast
On white
4.08
#8E7E19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#8E7E19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E7E19
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E7E19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E7E19 | 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)
#8B7A00
Deuteranopia (green-blind)
#8F8021
Tritanopia (blue-blind)
#9A746B
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8e7e19; /* rgb */ color: rgb(142, 126, 25); /* oklch */ color: oklch(59.0% 0.115 99.6);
Tailwind
colors: {
custom: {
50: '#b3a360',
500: '#8e7e19',
950: '#000000',
},
}SCSS
$custom: #8e7e19; $custom-light: #b3a360; $custom-dark: #000000;
JSON
{
"hex": "#8e7e19",
"rgb": {
"r": 142,
"g": 126,
"b": 25
},
"hsl": {
"h": 51.795,
"s": 70.06,
"l": 32.745
},
"oklch": {
"l": 0.59038,
"c": 0.11461,
"h": 99.6
},
"luminance": 0.20743
}Semantic roles & 50–950 ramp
primary
#8E7E19
secondary
#4455BF
accent
#53ED3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120F05
muted
#817E79