#8E7B15#8E7B15
#8E7B15 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.3% C 0.114 H 97.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #8E7B15 |
|---|---|
| RGB | rgb(142, 123, 21) |
| HSL | hsl(51, 74%, 32%) |
| HSV | hsv(51, 85%, 56%) |
| CMYK | cmyk(0%, 13.4%, 85.2%, 44.3%) |
| CIE-LAB | lab(51.81, -3.15, 52.74) |
| CIE-LCH | lch(51.81, 52.83, 93.42°) |
| OKLab | oklab(58.35% -0.015 0.1132) |
| OKLCH | oklch(58.35% 0.114 97.6) |
| XYZ | xyz(18.3747, 19.9719, 3.5964) |
| Luminance | 0.1997 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 1.94
Hazel
#8E7618
ΔE00 2.45
Puke Brown
#947706
ΔE00 3.35
Poo
#8F7303
ΔE00 3.83
Yellowish Brown
#9B7A01
ΔE00 4.55
Diarrhea
#9F8303
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E7B15 #15288E
analogous
#8E3F15 #8E7B15 #648E15
triadic
#8E7B15 #158E7B #7B158E
tetradic
#8E7B15 #158E3F #15288E #8E1564
square
#8E7B15 #158E3F #15288E #8E1564
split-complementary
#8E7B15 #15648E #3F158E
monochromatic
#231F05 #594D0D #8E7B15 #C3A91D #E2C83B
Accessibility & contrast
On white
4.20
#8E7B15 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#8E7B15 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E7B15
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E7B15 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E7B15 | 1.00 | 4.20 | 4.99 | 4.99 |
| #FFFFFF | 4.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#8D7E1D
Tritanopia (blue-blind)
#9A7169
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #8e7b15; /* rgb */ color: rgb(142, 123, 21); /* oklch */ color: oklch(58.3% 0.114 97.6);
Tailwind
colors: {
custom: {
50: '#b3a05e',
500: '#8e7b15',
950: '#000000',
},
}SCSS
$custom: #8e7b15; $custom-light: #b3a05e; $custom-dark: #000000;
JSON
{
"hex": "#8e7b15",
"rgb": {
"r": 142,
"g": 123,
"b": 21
},
"hsl": {
"h": 50.579,
"s": 74.233,
"l": 31.961
},
"oklch": {
"l": 0.58349,
"c": 0.11417,
"h": 97.6
},
"luminance": 0.19971
}Semantic roles & 50–950 ramp
primary
#8E7B15
secondary
#3D52C2
accent
#54F137
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79