#8E8222#8E8222
#8E8222 is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 60.0% C 0.113 H 101.9°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #8E8222 |
|---|---|
| RGB | rgb(142, 130, 34) |
| HSL | hsl(53, 61%, 35%) |
| HSV | hsv(53, 76%, 56%) |
| CMYK | cmyk(0%, 8.5%, 76.1%, 44.3%) |
| CIE-LAB | lab(53.85, -6.54, 50.25) |
| CIE-LCH | lch(53.85, 50.68, 97.42°) |
| OKLab | oklab(59.99% -0.0234 0.1106) |
| OKLCH | oklch(59.99% 0.113 101.9) |
| XYZ | xyz(19.4276, 21.8324, 4.7038) |
| Luminance | 0.2183 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.27
Olive
#808000
ΔE00 4.35
Hazel
#8E7618
ΔE00 5.42
Diarrhea
#9F8303
ΔE00 5.65
Puke Brown
#947706
ΔE00 6.30
Ugly Brown
#7D7103
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E8222 #222E8E
analogous
#8E4C22 #8E8222 #648E22
triadic
#8E8222 #228E82 #82228E
tetradic
#8E8222 #228E4C #222E8E #8E2264
square
#8E8222 #228E4C #222E8E #8E2264
split-complementary
#8E8222 #22648E #4C228E
monochromatic
#2B280A #5D5516 #8E8222 #BFAF2E #D6C854
Accessibility & contrast
On white
3.91
#8E8222 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#8E8222 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E8222
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E8222 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E8222 | 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)
#8F7E10
Deuteranopia (green-blind)
#928329
Tritanopia (blue-blind)
#99786F
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #8e8222; /* rgb */ color: rgb(142, 130, 34); /* oklch */ color: oklch(60.0% 0.113 101.9);
Tailwind
colors: {
custom: {
50: '#b2a665',
500: '#8e8222',
950: '#000000',
},
}SCSS
$custom: #8e8222; $custom-light: #b2a665; $custom-dark: #000000;
JSON
{
"hex": "#8e8222",
"rgb": {
"r": 142,
"g": 130,
"b": 34
},
"hsl": {
"h": 53.333,
"s": 61.364,
"l": 34.51
},
"oklch": {
"l": 0.59992,
"c": 0.11299,
"h": 101.9
},
"luminance": 0.21832
}Semantic roles & 50–950 ramp
primary
#8E8222
secondary
#525DBA
accent
#55E443
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A