#8E7B19#8E7B19
#8E7B19 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.4% C 0.112 H 97.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #8E7B19 |
|---|---|
| RGB | rgb(142, 123, 25) |
| HSL | hsl(50, 70%, 33%) |
| HSV | hsv(50, 82%, 56%) |
| CMYK | cmyk(0%, 13.4%, 82.4%, 44.3%) |
| CIE-LAB | lab(51.82, -3.02, 51.53) |
| CIE-LCH | lch(51.82, 51.62, 93.36°) |
| OKLab | oklab(58.37% -0.0143 0.1114) |
| OKLCH | oklch(58.37% 0.112 97.3) |
| XYZ | xyz(18.4147, 19.9879, 3.8076) |
| Luminance | 0.1999 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.20
Hazel
#8E7618
ΔE00 2.34
Puke Brown
#947706
ΔE00 3.40
Poo
#8F7303
ΔE00 3.87
Yellowish Brown
#9B7A01
ΔE00 4.62
Diarrhea
#9F8303
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E7B19 #192C8E
analogous
#8E4019 #8E7B19 #678E19
triadic
#8E7B19 #198E7B #7B198E
tetradic
#8E7B19 #198E40 #192C8E #8E1967
square
#8E7B19 #198E40 #192C8E #8E1967
split-complementary
#8E7B19 #19678E #40198E
monochromatic
#262107 #5A4E10 #8E7B19 #C2A822 #DEC543
Accessibility & contrast
On white
4.20
#8E7B19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#8E7B19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E7B19
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E7B19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E7B19 | 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)
#8D7E20
Tritanopia (blue-blind)
#9A7169
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8e7b19; /* rgb */ color: rgb(142, 123, 25); /* oklch */ color: oklch(58.4% 0.112 97.3);
Tailwind
colors: {
custom: {
50: '#b3a060',
500: '#8e7b19',
950: '#000000',
},
}SCSS
$custom: #8e7b19; $custom-light: #b3a060; $custom-dark: #000000;
JSON
{
"hex": "#8e7b19",
"rgb": {
"r": 142,
"g": 123,
"b": 25
},
"hsl": {
"h": 50.256,
"s": 70.06,
"l": 32.745
},
"oklch": {
"l": 0.58369,
"c": 0.11234,
"h": 97.3
},
"luminance": 0.19987
}Semantic roles & 50–950 ramp
primary
#8E7B19
secondary
#4458BF
accent
#58ED3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79