#8E7718#8E7718
#8E7718 is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.5% C 0.110 H 94.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #8E7718 |
|---|---|
| RGB | rgb(142, 119, 24) |
| HSL | hsl(48, 71%, 33%) |
| HSV | hsv(48, 83%, 56%) |
| CMYK | cmyk(0%, 16.2%, 83.1%, 44.3%) |
| CIE-LAB | lab(50.70, -0.81, 50.87) |
| CIE-LCH | lch(50.70, 50.88, 90.91°) |
| OKLab | oklab(57.48% -0.0081 0.1098) |
| OKLCH | oklch(57.48% 0.11 94.2) |
| XYZ | xyz(17.9181, 19.0114, 3.5898) |
| Luminance | 0.1901 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 0.48
Poo
#8F7303
ΔE00 2.23
Puke Brown
#947706
ΔE00 2.25
Baby Poop
#937C00
ΔE00 2.80
Yellowish Brown
#9B7A01
ΔE00 3.94
Ugly Brown
#7D7103
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E7718 #182F8E
analogous
#8E3C18 #8E7718 #6A8E18
triadic
#8E7718 #188E77 #77188E
tetradic
#8E7718 #188E3C #182F8E #8E186A
square
#8E7718 #188E3C #182F8E #8E186A
split-complementary
#8E7718 #186A8E #3C188E
monochromatic
#251F06 #5A4B0F #8E7718 #C2A321 #DFC041
Accessibility & contrast
On white
4.37
#8E7718 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#8E7718 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E7718
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E7718 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E7718 | 1.00 | 4.37 | 4.80 | 4.80 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#8A7C1F
Tritanopia (blue-blind)
#9A6D66
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #8e7718; /* rgb */ color: rgb(142, 119, 24); /* oklch */ color: oklch(57.5% 0.110 94.2);
Tailwind
colors: {
custom: {
50: '#b39d5f',
500: '#8e7718',
950: '#000000',
},
}SCSS
$custom: #8e7718; $custom-light: #b39d5f; $custom-dark: #000000;
JSON
{
"hex": "#8e7718",
"rgb": {
"r": 142,
"g": 119,
"b": 24
},
"hsl": {
"h": 48.305,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.57479,
"c": 0.11007,
"h": 94.2
},
"luminance": 0.1901
}Semantic roles & 50–950 ramp
primary
#8E7718
secondary
#425BC0
accent
#5DEE3A
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79