#8E8221#8E8221
#8E8221 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.37:1 contrast (WCAG AA passes).
Color values
| HEX | #8E8221 |
|---|---|
| RGB | rgb(142, 130, 33) |
| HSL | hsl(53, 62%, 34%) |
| HSV | hsv(53, 77%, 56%) |
| CMYK | cmyk(0%, 8.5%, 76.8%, 44.3%) |
| CIE-LAB | lab(53.84, -6.59, 50.62) |
| CIE-LCH | lch(53.84, 51.04, 97.41°) |
| OKLab | oklab(59.99% -0.0236 0.1111) |
| OKLCH | oklch(59.99% 0.114 102) |
| XYZ | xyz(19.4134, 21.8267, 4.6289) |
| Luminance | 0.2183 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.22
Olive
#808000
ΔE00 4.30
Hazel
#8E7618
ΔE00 5.42
Diarrhea
#9F8303
ΔE00 5.61
Puke Brown
#947706
ΔE00 6.28
Ugly Brown
#7D7103
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E8221 #212D8E
analogous
#8E4B21 #8E8221 #648E21
triadic
#8E8221 #218E82 #82218E
tetradic
#8E8221 #218E4B #212D8E #8E2164
square
#8E8221 #218E4B #212D8E #8E2164
split-complementary
#8E8221 #21648E #4B218E
monochromatic
#2B270A #5C5515 #8E8221 #C0AF2D #D7C852
Accessibility & contrast
On white
3.91
#8E8221 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#8E8221 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E8221
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E8221 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E8221 | 1.00 | 3.91 | 5.37 | 5.37 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E0E
Deuteranopia (green-blind)
#928328
Tritanopia (blue-blind)
#99786F
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #8e8221; /* rgb */ color: rgb(142, 130, 33); /* oklch */ color: oklch(60.0% 0.114 102.0);
Tailwind
colors: {
custom: {
50: '#b3a664',
500: '#8e8221',
950: '#000000',
},
}SCSS
$custom: #8e8221; $custom-light: #b3a664; $custom-dark: #000000;
JSON
{
"hex": "#8e8221",
"rgb": {
"r": 142,
"g": 130,
"b": 33
},
"hsl": {
"h": 53.394,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.59985,
"c": 0.1136,
"h": 102
},
"luminance": 0.21826
}Semantic roles & 50–950 ramp
primary
#8E8221
secondary
#505CBA
accent
#54E542
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A