#8E7918#8E7918
#8E7918 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.9% C 0.111 H 95.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #8E7918 |
|---|---|
| RGB | rgb(142, 121, 24) |
| HSL | hsl(49, 71%, 33%) |
| HSV | hsv(49, 83%, 56%) |
| CMYK | cmyk(0%, 14.8%, 83.1%, 44.3%) |
| CIE-LAB | lab(51.26, -1.93, 51.36) |
| CIE-LCH | lch(51.26, 51.39, 92.16°) |
| OKLab | oklab(57.92% -0.0113 0.1108) |
| OKLCH | oklch(57.92% 0.111 95.8) |
| XYZ | xyz(18.1586, 19.4925, 3.6700) |
| Luminance | 0.1949 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 1.43
Baby Poop
#937C00
ΔE00 2.30
Puke Brown
#947706
ΔE00 2.72
Poo
#8F7303
ΔE00 3.00
Yellowish Brown
#9B7A01
ΔE00 4.18
Ugly Brown
#7D7103
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E7918 #182D8E
analogous
#8E3E18 #8E7918 #688E18
triadic
#8E7918 #188E79 #79188E
tetradic
#8E7918 #188E3E #182D8E #8E1868
square
#8E7918 #188E3E #182D8E #8E1868
split-complementary
#8E7918 #18688E #3E188E
monochromatic
#252006 #5A4C0F #8E7918 #C2A621 #DFC341
Accessibility & contrast
On white
4.29
#8E7918 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#8E7918 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E7918
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E7918 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E7918 | 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)
#8C7D1F
Tritanopia (blue-blind)
#9A6F67
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #8e7918; /* rgb */ color: rgb(142, 121, 24); /* oklch */ color: oklch(57.9% 0.111 95.8);
Tailwind
colors: {
custom: {
50: '#b39f5f',
500: '#8e7918',
950: '#000000',
},
}SCSS
$custom: #8e7918; $custom-light: #b39f5f; $custom-dark: #000000;
JSON
{
"hex": "#8e7918",
"rgb": {
"r": 142,
"g": 121,
"b": 24
},
"hsl": {
"h": 49.322,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.5792,
"c": 0.1114,
"h": 95.8
},
"luminance": 0.19491
}Semantic roles & 50–950 ramp
primary
#8E7918
secondary
#4258C0
accent
#5AEE3A
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79