#8E8621#8E8621
#8E8621 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 60.9% C 0.117 H 104.7°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #8E8621 |
|---|---|
| RGB | rgb(142, 134, 33) |
| HSL | hsl(56, 62%, 34%) |
| HSV | hsv(56, 77%, 56%) |
| CMYK | cmyk(0%, 5.6%, 76.8%, 44.3%) |
| CIE-LAB | lab(54.98, -8.78, 51.68) |
| CIE-LCH | lch(54.98, 52.42, 99.64°) |
| OKLab | oklab(60.89% -0.0298 0.1134) |
| OKLCH | oklch(60.89% 0.117 104.7) |
| XYZ | xyz(19.9558, 22.9116, 4.8098) |
| Luminance | 0.2291 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.93
Baby Poop
#937C00
ΔE00 5.65
Diarrhea
#9F8303
ΔE00 6.47
Shit Green
#758000
ΔE00 6.51
Drab
#828344
ΔE00 6.92
Swamp Green
#748500
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E8621 #21298E
analogous
#8E4F21 #8E8621 #608E21
triadic
#8E8621 #218E86 #86218E
tetradic
#8E8621 #218E4F #21298E #8E2160
square
#8E8621 #218E4F #21298E #8E2160
split-complementary
#8E8621 #21608E #4F218E
monochromatic
#2B280A #5C5715 #8E8621 #C0B52D #D7CD52
Accessibility & contrast
On white
3.76
#8E8621 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#8E8621 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E8621
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E8621 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E8621 | 1.00 | 3.76 | 5.58 | 5.58 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92810B
Deuteranopia (green-blind)
#958629
Tritanopia (blue-blind)
#997C73
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #8e8621; /* rgb */ color: rgb(142, 134, 33); /* oklch */ color: oklch(60.9% 0.117 104.7);
Tailwind
colors: {
custom: {
50: '#b2a865',
500: '#8e8621',
950: '#000000',
},
}SCSS
$custom: #8e8621; $custom-light: #b2a865; $custom-dark: #000000;
JSON
{
"hex": "#8e8621",
"rgb": {
"r": 142,
"g": 134,
"b": 33
},
"hsl": {
"h": 55.596,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.6089,
"c": 0.11723,
"h": 104.7
},
"luminance": 0.22911
}Semantic roles & 50–950 ramp
primary
#8E8621
secondary
#5058BA
accent
#4EE542
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A