#8E7A14#8E7A14
#8E7A14 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.1% C 0.114 H 96.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #8E7A14 |
|---|---|
| RGB | rgb(142, 122, 20) |
| HSL | hsl(50, 75%, 32%) |
| HSV | hsv(50, 86%, 56%) |
| CMYK | cmyk(0%, 14.1%, 85.9%, 44.3%) |
| CIE-LAB | lab(51.52, -2.62, 52.78) |
| CIE-LCH | lch(51.52, 52.84, 92.85°) |
| OKLab | oklab(58.12% -0.0136 0.1131) |
| OKLCH | oklch(58.12% 0.114 96.9) |
| XYZ | xyz(18.2421, 19.7214, 3.5074) |
| Luminance | 0.1972 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 1.91
Hazel
#8E7618
ΔE00 2.02
Puke Brown
#947706
ΔE00 2.97
Poo
#8F7303
ΔE00 3.38
Yellowish Brown
#9B7A01
ΔE00 4.29
Ugly Brown
#7D7103
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E7A14 #14288E
analogous
#8E3D14 #8E7A14 #658E14
triadic
#8E7A14 #148E7A #7A148E
tetradic
#8E7A14 #148E3D #14288E #8E1465
square
#8E7A14 #148E3D #14288E #8E1465
split-complementary
#8E7A14 #14658E #3D148E
monochromatic
#231E05 #584C0C #8E7A14 #C4A81C #E3C739
Accessibility & contrast
On white
4.25
#8E7A14 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#8E7A14 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E7A14
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E7A14 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E7A14 | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#8D7E1C
Tritanopia (blue-blind)
#9A7068
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #8e7a14; /* rgb */ color: rgb(142, 122, 20); /* oklch */ color: oklch(58.1% 0.114 96.9);
Tailwind
colors: {
custom: {
50: '#b3a05d',
500: '#8e7a14',
950: '#000000',
},
}SCSS
$custom: #8e7a14; $custom-light: #b3a05d; $custom-dark: #000000;
JSON
{
"hex": "#8e7a14",
"rgb": {
"r": 142,
"g": 122,
"b": 20
},
"hsl": {
"h": 50.164,
"s": 75.309,
"l": 31.765
},
"oklch": {
"l": 0.58122,
"c": 0.11389,
"h": 96.9
},
"luminance": 0.1972
}Semantic roles & 50–950 ramp
primary
#8E7A14
secondary
#3C52C2
accent
#55F236
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79