#8E7F19#8E7F19
#8E7F19 is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.3% C 0.115 H 100.3°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #8E7F19 |
|---|---|
| RGB | rgb(142, 127, 25) |
| HSL | hsl(52, 70%, 33%) |
| HSV | hsv(52, 82%, 56%) |
| CMYK | cmyk(0%, 10.6%, 82.4%, 44.3%) |
| CIE-LAB | lab(52.95, -5.25, 52.52) |
| CIE-LCH | lch(52.95, 52.79, 95.71°) |
| OKLab | oklab(59.26% -0.0206 0.1136) |
| OKLCH | oklch(59.26% 0.115 100.3) |
| XYZ | xyz(18.9211, 21.0006, 3.9764) |
| Luminance | 0.2100 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.91
Hazel
#8E7618
ΔE00 4.18
Olive
#808000
ΔE00 4.72
Diarrhea
#9F8303
ΔE00 4.94
Puke Brown
#947706
ΔE00 4.97
Poo
#8F7303
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E7F19 #19288E
analogous
#8E4519 #8E7F19 #628E19
triadic
#8E7F19 #198E7F #7F198E
tetradic
#8E7F19 #198E45 #19288E #8E1962
square
#8E7F19 #198E45 #19288E #8E1962
split-complementary
#8E7F19 #19628E #45198E
monochromatic
#262207 #5A5010 #8E7F19 #C2AE22 #DECA43
Accessibility & contrast
On white
4.04
#8E7F19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.20
#8E7F19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E7F19
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E7F19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E7F19 | 1.00 | 4.04 | 5.20 | 5.20 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#908121
Tritanopia (blue-blind)
#9A756C
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8e7f19; /* rgb */ color: rgb(142, 127, 25); /* oklch */ color: oklch(59.3% 0.115 100.3);
Tailwind
colors: {
custom: {
50: '#b3a360',
500: '#8e7f19',
950: '#000000',
},
}SCSS
$custom: #8e7f19; $custom-light: #b3a360; $custom-dark: #000000;
JSON
{
"hex": "#8e7f19",
"rgb": {
"r": 142,
"g": 127,
"b": 25
},
"hsl": {
"h": 52.308,
"s": 70.06,
"l": 32.745
},
"oklch": {
"l": 0.59262,
"c": 0.11541,
"h": 100.3
},
"luminance": 0.21
}Semantic roles & 50–950 ramp
primary
#8E7F19
secondary
#4454BF
accent
#52ED3B
background
#FBFAF5
surface
#F6F3EA
border
#D0CDC6
text
#110F05
muted
#807F79