#8E7917#8E7917
#8E7917 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.9% C 0.112 H 95.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #8E7917 |
|---|---|
| RGB | rgb(142, 121, 23) |
| HSL | hsl(49, 72%, 32%) |
| HSV | hsv(49, 84%, 56%) |
| CMYK | cmyk(0%, 14.8%, 83.8%, 44.3%) |
| CIE-LAB | lab(51.25, -1.97, 51.67) |
| CIE-LCH | lch(51.25, 51.70, 92.18°) |
| OKLab | oklab(57.92% -0.0115 0.1113) |
| OKLCH | oklch(57.92% 0.112 95.9) |
| XYZ | xyz(18.1484, 19.4884, 3.6162) |
| Luminance | 0.1949 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 1.46
Baby Poop
#937C00
ΔE00 2.23
Puke Brown
#947706
ΔE00 2.69
Poo
#8F7303
ΔE00 2.98
Yellowish Brown
#9B7A01
ΔE00 4.15
Ugly Brown
#7D7103
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E7917 #172C8E
analogous
#8E3E17 #8E7917 #678E17
triadic
#8E7917 #178E79 #79178E
tetradic
#8E7917 #178E3E #172C8E #8E1767
square
#8E7917 #178E3E #172C8E #8E1767
split-complementary
#8E7917 #17678E #3E178E
monochromatic
#251F06 #594C0E #8E7917 #C3A620 #E0C43F
Accessibility & contrast
On white
4.29
#8E7917 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#8E7917 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E7917
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E7917 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E7917 | 1.00 | 4.29 | 4.90 | 4.90 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#8C7D1E
Tritanopia (blue-blind)
#9A6F67
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #8e7917; /* rgb */ color: rgb(142, 121, 23); /* oklch */ color: oklch(57.9% 0.112 95.9);
Tailwind
colors: {
custom: {
50: '#b39f5f',
500: '#8e7917',
950: '#000000',
},
}SCSS
$custom: #8e7917; $custom-light: #b39f5f; $custom-dark: #000000;
JSON
{
"hex": "#8e7917",
"rgb": {
"r": 142,
"g": 121,
"b": 23
},
"hsl": {
"h": 49.412,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.57915,
"c": 0.11187,
"h": 95.9
},
"luminance": 0.19487
}Semantic roles & 50–950 ramp
primary
#8E7917
secondary
#4057C0
accent
#59EF39
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79