#8E8220#8E8220
#8E8220 is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 60.0% C 0.114 H 102.0°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #8E8220 |
|---|---|
| RGB | rgb(142, 130, 32) |
| HSL | hsl(53, 63%, 34%) |
| HSV | hsv(53, 77%, 56%) |
| CMYK | cmyk(0%, 8.5%, 77.5%, 44.3%) |
| CIE-LAB | lab(53.84, -6.63, 50.97) |
| CIE-LCH | lch(53.84, 51.40, 97.41°) |
| OKLab | oklab(59.98% -0.0238 0.1117) |
| OKLCH | oklch(59.98% 0.114 102) |
| XYZ | xyz(19.3996, 21.8212, 4.5563) |
| Luminance | 0.2182 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.18
Olive
#808000
ΔE00 4.25
Hazel
#8E7618
ΔE00 5.43
Diarrhea
#9F8303
ΔE00 5.57
Puke Brown
#947706
ΔE00 6.27
Ugly Brown
#7D7103
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E8220 #202C8E
analogous
#8E4B20 #8E8220 #638E20
triadic
#8E8220 #208E82 #82208E
tetradic
#8E8220 #208E4B #202C8E #8E2063
square
#8E8220 #208E4B #202C8E #8E2063
split-complementary
#8E8220 #20638E #4B208E
monochromatic
#2A2709 #5C5415 #8E8220 #C0B02B #D8C951
Accessibility & contrast
On white
3.91
#8E8220 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.36
#8E8220 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E8220
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E8220 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E8220 | 1.00 | 3.91 | 5.36 | 5.36 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E0B
Deuteranopia (green-blind)
#928327
Tritanopia (blue-blind)
#99786F
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #8e8220; /* rgb */ color: rgb(142, 130, 32); /* oklch */ color: oklch(60.0% 0.114 102.0);
Tailwind
colors: {
custom: {
50: '#b3a664',
500: '#8e8220',
950: '#000000',
},
}SCSS
$custom: #8e8220; $custom-light: #b3a664; $custom-dark: #000000;
JSON
{
"hex": "#8e8220",
"rgb": {
"r": 142,
"g": 130,
"b": 32
},
"hsl": {
"h": 53.455,
"s": 63.218,
"l": 34.118
},
"oklch": {
"l": 0.59978,
"c": 0.11419,
"h": 102
},
"luminance": 0.2182
}Semantic roles & 50–950 ramp
primary
#8E8220
secondary
#4F5BBB
accent
#54E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A