#8E7E17#8E7E17
#8E7E17 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 59.0% C 0.116 H 99.7°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8E7E17 |
|---|---|
| RGB | rgb(142, 126, 23) |
| HSL | hsl(52, 72%, 32%) |
| HSV | hsv(52, 84%, 56%) |
| CMYK | cmyk(0%, 11.3%, 83.8%, 44.3%) |
| CIE-LAB | lab(52.66, -4.76, 52.88) |
| CIE-LCH | lch(52.66, 53.09, 95.15°) |
| OKLab | oklab(59.03% -0.0194 0.1139) |
| OKLCH | oklch(59.03% 0.116 99.7) |
| XYZ | xyz(18.7718, 20.7353, 3.8240) |
| Luminance | 0.2073 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.55
Hazel
#8E7618
ΔE00 3.77
Puke Brown
#947706
ΔE00 4.54
Diarrhea
#9F8303
ΔE00 4.82
Olive
#808000
ΔE00 4.98
Poo
#8F7303
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E7E17 #17278E
analogous
#8E4317 #8E7E17 #628E17
triadic
#8E7E17 #178E7E #7E178E
tetradic
#8E7E17 #178E43 #17278E #8E1762
square
#8E7E17 #178E43 #17278E #8E1762
split-complementary
#8E7E17 #17628E #43178E
monochromatic
#252106 #594F0E #8E7E17 #C3AD20 #E0CA3F
Accessibility & contrast
On white
4.08
#8E7E17 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#8E7E17 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E7E17
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E7E17 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E7E17 | 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)
#90801F
Tritanopia (blue-blind)
#9A746B
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8e7e17; /* rgb */ color: rgb(142, 126, 23); /* oklch */ color: oklch(59.0% 0.116 99.7);
Tailwind
colors: {
custom: {
50: '#b3a35f',
500: '#8e7e17',
950: '#000000',
},
}SCSS
$custom: #8e7e17; $custom-light: #b3a35f; $custom-dark: #000000;
JSON
{
"hex": "#8e7e17",
"rgb": {
"r": 142,
"g": 126,
"b": 23
},
"hsl": {
"h": 51.933,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.59028,
"c": 0.11556,
"h": 99.7
},
"luminance": 0.20734
}Semantic roles & 50–950 ramp
primary
#8E7E17
secondary
#4052C0
accent
#51EF39
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120F05
muted
#817E79