#8E8420#8E8420
#8E8420 is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.4% C 0.116 H 103.4°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #8E8420 |
|---|---|
| RGB | rgb(142, 132, 32) |
| HSL | hsl(55, 63%, 34%) |
| HSV | hsv(55, 77%, 56%) |
| CMYK | cmyk(0%, 7%, 77.5%, 44.3%) |
| CIE-LAB | lab(54.41, -7.73, 51.50) |
| CIE-LCH | lch(54.41, 52.08, 98.54°) |
| OKLab | oklab(60.43% -0.0269 0.1128) |
| OKLCH | oklch(60.43% 0.116 103.4) |
| XYZ | xyz(19.6682, 22.3584, 4.6458) |
| Luminance | 0.2236 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.98
Baby Poop
#937C00
ΔE00 4.88
Diarrhea
#9F8303
ΔE00 5.96
Hazel
#8E7618
ΔE00 6.31
Shit Green
#758000
ΔE00 6.75
Drab
#828344
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E8420 #202A8E
analogous
#8E4D20 #8E8420 #618E20
triadic
#8E8420 #208E84 #84208E
tetradic
#8E8420 #208E4D #202A8E #8E2061
square
#8E8420 #208E4D #202A8E #8E2061
split-complementary
#8E8420 #20618E #4D208E
monochromatic
#2A2709 #5C5615 #8E8420 #C0B22B #D8CB51
Accessibility & contrast
On white
3.84
#8E8420 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.47
#8E8420 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E8420
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E8420 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E8420 | 1.00 | 3.84 | 5.47 | 5.47 |
| #FFFFFF | 3.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#917F0A
Deuteranopia (green-blind)
#948427
Tritanopia (blue-blind)
#997A71
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #8e8420; /* rgb */ color: rgb(142, 132, 32); /* oklch */ color: oklch(60.4% 0.116 103.4);
Tailwind
colors: {
custom: {
50: '#b3a764',
500: '#8e8420',
950: '#000000',
},
}SCSS
$custom: #8e8420; $custom-light: #b3a764; $custom-dark: #000000;
JSON
{
"hex": "#8e8420",
"rgb": {
"r": 142,
"g": 132,
"b": 32
},
"hsl": {
"h": 54.545,
"s": 63.218,
"l": 34.118
},
"oklch": {
"l": 0.6043,
"c": 0.11597,
"h": 103.4
},
"luminance": 0.22358
}Semantic roles & 50–950 ramp
primary
#8E8420
secondary
#4F59BB
accent
#51E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A