#8E7118#8E7118
#8E7118 is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 56.2% C 0.107 H 89.2°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #8E7118 |
|---|---|
| RGB | rgb(142, 113, 24) |
| HSL | hsl(45, 71%, 33%) |
| HSV | hsv(45, 83%, 56%) |
| CMYK | cmyk(0%, 20.4%, 83.1%, 44.3%) |
| CIE-LAB | lab(49.04, 2.61, 49.41) |
| CIE-LCH | lch(49.04, 49.48, 86.98°) |
| OKLab | oklab(56.17% 0.0016 0.1066) |
| OKLCH | oklch(56.17% 0.107 89.2) |
| XYZ | xyz(17.2264, 17.6281, 3.3592) |
| Luminance | 0.1763 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Poo
#8F7303
ΔE00 2.02
Hazel
#8E7618
ΔE00 2.44
Puke Brown
#947706
ΔE00 3.07
Muddy Brown
#886806
ΔE00 3.42
Yellowish Brown
#9B7A01
ΔE00 4.60
Baby Poop
#937C00
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E7118 #18358E
analogous
#8E3618 #8E7118 #708E18
triadic
#8E7118 #188E71 #71188E
tetradic
#8E7118 #188E36 #18358E #8E1870
square
#8E7118 #188E36 #18358E #8E1870
split-complementary
#8E7118 #18708E #36188E
monochromatic
#251E06 #5A470F #8E7118 #C29B21 #DFB841
Accessibility & contrast
On white
4.64
#8E7118 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#8E7118 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #8E7118
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E7118 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E7118 | 1.00 | 4.64 | 4.53 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7002
Deuteranopia (green-blind)
#86781E
Tritanopia (blue-blind)
#9A6660
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #8e7118; /* rgb */ color: rgb(142, 113, 24); /* oklch */ color: oklch(56.2% 0.107 89.2);
Tailwind
colors: {
custom: {
50: '#b3995e',
500: '#8e7118',
950: '#000000',
},
}SCSS
$custom: #8e7118; $custom-light: #b3995e; $custom-dark: #000000;
JSON
{
"hex": "#8e7118",
"rgb": {
"r": 142,
"g": 113,
"b": 24
},
"hsl": {
"h": 45.254,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.5617,
"c": 0.10662,
"h": 89.2
},
"luminance": 0.17627
}Semantic roles & 50–950 ramp
primary
#8E7118
secondary
#4261C0
accent
#66EE3A
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120D05
muted
#817E79