#8E7B16#8E7B16
#8E7B16 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.4% C 0.114 H 97.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #8E7B16 |
|---|---|
| RGB | rgb(142, 123, 22) |
| HSL | hsl(51, 73%, 32%) |
| HSV | hsv(51, 85%, 56%) |
| CMYK | cmyk(0%, 13.4%, 84.5%, 44.3%) |
| CIE-LAB | lab(51.81, -3.12, 52.45) |
| CIE-LCH | lch(51.81, 52.54, 93.41°) |
| OKLab | oklab(58.35% -0.0149 0.1128) |
| OKLCH | oklch(58.35% 0.114 97.5) |
| XYZ | xyz(18.3841, 19.9756, 3.6463) |
| Luminance | 0.1998 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.00
Hazel
#8E7618
ΔE00 2.42
Puke Brown
#947706
ΔE00 3.36
Poo
#8F7303
ΔE00 3.84
Yellowish Brown
#9B7A01
ΔE00 4.56
Diarrhea
#9F8303
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E7B16 #16298E
analogous
#8E3F16 #8E7B16 #658E16
triadic
#8E7B16 #168E7B #7B168E
tetradic
#8E7B16 #168E3F #16298E #8E1665
square
#8E7B16 #168E3F #16298E #8E1665
split-complementary
#8E7B16 #16658E #3F168E
monochromatic
#241F06 #594D0E #8E7B16 #C3A91E #E1C73D
Accessibility & contrast
On white
4.20
#8E7B16 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#8E7B16 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E7B16
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E7B16 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E7B16 | 1.00 | 4.20 | 5.00 | 5.00 |
| #FFFFFF | 4.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#8D7E1E
Tritanopia (blue-blind)
#9A7169
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #8e7b16; /* rgb */ color: rgb(142, 123, 22); /* oklch */ color: oklch(58.4% 0.114 97.5);
Tailwind
colors: {
custom: {
50: '#b3a05e',
500: '#8e7b16',
950: '#000000',
},
}SCSS
$custom: #8e7b16; $custom-light: #b3a05e; $custom-dark: #000000;
JSON
{
"hex": "#8e7b16",
"rgb": {
"r": 142,
"g": 123,
"b": 22
},
"hsl": {
"h": 50.5,
"s": 73.171,
"l": 32.157
},
"oklch": {
"l": 0.58354,
"c": 0.11373,
"h": 97.5
},
"luminance": 0.19975
}Semantic roles & 50–950 ramp
primary
#8E7B16
secondary
#3F53C1
accent
#55F038
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79