#8E8622#8E8622
#8E8622 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 | #8E8622 |
|---|---|
| RGB | rgb(142, 134, 34) |
| HSL | hsl(56, 61%, 35%) |
| HSV | hsv(56, 76%, 56%) |
| CMYK | cmyk(0%, 5.6%, 76.1%, 44.3%) |
| CIE-LAB | lab(54.99, -8.73, 51.33) |
| CIE-LCH | lch(54.99, 52.06, 99.66°) |
| OKLab | oklab(60.9% -0.0295 0.1128) |
| OKLCH | oklch(60.9% 0.117 104.7) |
| XYZ | xyz(19.9700, 22.9173, 4.8846) |
| Luminance | 0.2292 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.98
Baby Poop
#937C00
ΔE00 5.68
Diarrhea
#9F8303
ΔE00 6.51
Shit Green
#758000
ΔE00 6.52
Drab
#828344
ΔE00 6.83
Hazel
#8E7618
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E8622 #222A8E
analogous
#8E5022 #8E8622 #608E22
triadic
#8E8622 #228E86 #86228E
tetradic
#8E8622 #228E50 #222A8E #8E2260
square
#8E8622 #228E50 #222A8E #8E2260
split-complementary
#8E8622 #22608E #50228E
monochromatic
#2B290A #5D5716 #8E8622 #BFB52E #D6CD54
Accessibility & contrast
On white
3.76
#8E8622 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#8E8622 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E8622
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E8622 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E8622 | 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)
#92810E
Deuteranopia (green-blind)
#958629
Tritanopia (blue-blind)
#997C73
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #8e8622; /* rgb */ color: rgb(142, 134, 34); /* oklch */ color: oklch(60.9% 0.117 104.7);
Tailwind
colors: {
custom: {
50: '#b2a865',
500: '#8e8622',
950: '#000000',
},
}SCSS
$custom: #8e8622; $custom-light: #b2a865; $custom-dark: #000000;
JSON
{
"hex": "#8e8622",
"rgb": {
"r": 142,
"g": 134,
"b": 34
},
"hsl": {
"h": 55.556,
"s": 61.364,
"l": 34.51
},
"oklch": {
"l": 0.60897,
"c": 0.11663,
"h": 104.7
},
"luminance": 0.22916
}Semantic roles & 50–950 ramp
primary
#8E8622
secondary
#525ABA
accent
#4FE443
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A