#8E7D19#8E7D19
#8E7D19 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.8% C 0.114 H 98.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #8E7D19 |
|---|---|
| RGB | rgb(142, 125, 25) |
| HSL | hsl(51, 70%, 33%) |
| HSV | hsv(51, 82%, 56%) |
| CMYK | cmyk(0%, 12%, 82.4%, 44.3%) |
| CIE-LAB | lab(52.39, -4.14, 52.03) |
| CIE-LCH | lch(52.39, 52.19, 94.55°) |
| OKLab | oklab(58.82% -0.0175 0.1125) |
| OKLCH | oklch(58.82% 0.114 98.8) |
| XYZ | xyz(18.6654, 20.4892, 3.8912) |
| Luminance | 0.2049 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.41
Hazel
#8E7618
ΔE00 3.27
Puke Brown
#947706
ΔE00 4.16
Poo
#8F7303
ΔE00 4.74
Diarrhea
#9F8303
ΔE00 4.86
Yellowish Brown
#9B7A01
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E7D19 #192A8E
analogous
#8E4219 #8E7D19 #648E19
triadic
#8E7D19 #198E7D #7D198E
tetradic
#8E7D19 #198E42 #192A8E #8E1964
square
#8E7D19 #198E42 #192A8E #8E1964
split-complementary
#8E7D19 #19648E #42198E
monochromatic
#262107 #5A4F10 #8E7D19 #C2AB22 #DEC843
Accessibility & contrast
On white
4.12
#8E7D19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#8E7D19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E7D19
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E7D19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E7D19 | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#8F8021
Tritanopia (blue-blind)
#9A736B
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8e7d19; /* rgb */ color: rgb(142, 125, 25); /* oklch */ color: oklch(58.8% 0.114 98.8);
Tailwind
colors: {
custom: {
50: '#b3a260',
500: '#8e7d19',
950: '#000000',
},
}SCSS
$custom: #8e7d19; $custom-light: #b3a260; $custom-dark: #000000;
JSON
{
"hex": "#8e7d19",
"rgb": {
"r": 142,
"g": 125,
"b": 25
},
"hsl": {
"h": 51.282,
"s": 70.06,
"l": 32.745
},
"oklch": {
"l": 0.58815,
"c": 0.11384,
"h": 98.8
},
"luminance": 0.20488
}Semantic roles & 50–950 ramp
primary
#8E7D19
secondary
#4456BF
accent
#55ED3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120F05
muted
#817E79