#8E7E20#8E7E20
#8E7E20 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.1% C 0.111 H 99.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8E7E20 |
|---|---|
| RGB | rgb(142, 126, 32) |
| HSL | hsl(51, 63%, 34%) |
| HSV | hsv(51, 77%, 56%) |
| CMYK | cmyk(0%, 11.3%, 77.5%, 44.3%) |
| CIE-LAB | lab(52.71, -4.42, 49.92) |
| CIE-LCH | lch(52.71, 50.11, 95.06°) |
| OKLab | oklab(59.08% -0.0176 0.1094) |
| OKLCH | oklch(59.08% 0.111 99.1) |
| XYZ | xyz(18.8778, 20.7777, 4.3824) |
| Luminance | 0.2078 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.07
Hazel
#8E7618
ΔE00 3.64
Puke Brown
#947706
ΔE00 4.68
Diarrhea
#9F8303
ΔE00 5.16
Poo
#8F7303
ΔE00 5.27
Olive
#808000
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E7E20 #20308E
analogous
#8E4720 #8E7E20 #678E20
triadic
#8E7E20 #208E7E #7E208E
tetradic
#8E7E20 #208E47 #20308E #8E2067
square
#8E7E20 #208E47 #20308E #8E2067
split-complementary
#8E7E20 #20678E #47208E
monochromatic
#2A2509 #5C5215 #8E7E20 #C0AA2B #D8C451
Accessibility & contrast
On white
4.07
#8E7E20 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#8E7E20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E7E20
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E7E20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E7E20 | 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)
#8B7B0D
Deuteranopia (green-blind)
#8F8026
Tritanopia (blue-blind)
#9A746C
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8e7e20; /* rgb */ color: rgb(142, 126, 32); /* oklch */ color: oklch(59.1% 0.111 99.1);
Tailwind
colors: {
custom: {
50: '#b3a363',
500: '#8e7e20',
950: '#000000',
},
}SCSS
$custom: #8e7e20; $custom-light: #b3a363; $custom-dark: #000000;
JSON
{
"hex": "#8e7e20",
"rgb": {
"r": 142,
"g": 126,
"b": 32
},
"hsl": {
"h": 51.273,
"s": 63.218,
"l": 34.118
},
"oklch": {
"l": 0.5908,
"c": 0.11083,
"h": 99.1
},
"luminance": 0.20777
}Semantic roles & 50–950 ramp
primary
#8E7E20
secondary
#4F5FBB
accent
#5AE642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A