#8E7E24#8E7E24
#8E7E24 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.1% C 0.108 H 98.8°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8E7E24 |
|---|---|
| RGB | rgb(142, 126, 36) |
| HSL | hsl(51, 60%, 35%) |
| HSV | hsv(51, 75%, 56%) |
| CMYK | cmyk(0%, 11.3%, 74.6%, 44.3%) |
| CIE-LAB | lab(52.73, -4.23, 48.41) |
| CIE-LCH | lch(52.73, 48.60, 94.99°) |
| OKLab | oklab(59.11% -0.0166 0.1071) |
| OKLCH | oklch(59.11% 0.108 98.8) |
| XYZ | xyz(18.9355, 20.8008, 4.6863) |
| Luminance | 0.2080 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.40
Hazel
#8E7618
ΔE00 3.65
Puke Brown
#947706
ΔE00 4.82
Poo
#8F7303
ΔE00 5.37
Diarrhea
#9F8303
ΔE00 5.38
Olive
#808000
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E7E24 #24348E
analogous
#8E4924 #8E7E24 #698E24
triadic
#8E7E24 #248E7E #7E248E
tetradic
#8E7E24 #248E49 #24348E #8E2469
square
#8E7E24 #248E49 #24348E #8E2469
split-complementary
#8E7E24 #24698E #49248E
monochromatic
#2C270B #5D5318 #8E7E24 #BFA930 #D5C258
Accessibility & contrast
On white
4.07
#8E7E24 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#8E7E24 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E7E24
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E7E24 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E7E24 | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B15
Deuteranopia (green-blind)
#8F802A
Tritanopia (blue-blind)
#99746C
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8e7e24; /* rgb */ color: rgb(142, 126, 36); /* oklch */ color: oklch(59.1% 0.108 98.8);
Tailwind
colors: {
custom: {
50: '#b2a365',
500: '#8e7e24',
950: '#000000',
},
}SCSS
$custom: #8e7e24; $custom-light: #b2a365; $custom-dark: #000000;
JSON
{
"hex": "#8e7e24",
"rgb": {
"r": 142,
"g": 126,
"b": 36
},
"hsl": {
"h": 50.943,
"s": 59.551,
"l": 34.902
},
"oklch": {
"l": 0.59108,
"c": 0.10833,
"h": 98.8
},
"luminance": 0.208
}Semantic roles & 50–950 ramp
primary
#8E7E24
secondary
#5564B9
accent
#5DE345
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A