#8E8223#8E8223
#8E8223 is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 60.0% C 0.112 H 101.9°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #8E8223 |
|---|---|
| RGB | rgb(142, 130, 35) |
| HSL | hsl(53, 60%, 35%) |
| HSV | hsv(53, 75%, 56%) |
| CMYK | cmyk(0%, 8.5%, 75.4%, 44.3%) |
| CIE-LAB | lab(53.85, -6.50, 49.88) |
| CIE-LCH | lch(53.85, 50.30, 97.42°) |
| OKLab | oklab(60% -0.0231 0.11) |
| OKLCH | oklch(60% 0.112 101.9) |
| XYZ | xyz(19.4422, 21.8383, 4.7809) |
| Luminance | 0.2184 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.33
Olive
#808000
ΔE00 4.40
Hazel
#8E7618
ΔE00 5.42
Diarrhea
#9F8303
ΔE00 5.70
Puke Brown
#947706
ΔE00 6.32
Ugly Brown
#7D7103
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E8223 #232F8E
analogous
#8E4D23 #8E8223 #658E23
triadic
#8E8223 #238E82 #82238E
tetradic
#8E8223 #238E4D #232F8E #8E2365
square
#8E8223 #238E4D #232F8E #8E2365
split-complementary
#8E8223 #23658E #4D238E
monochromatic
#2C280B #5D5517 #8E8223 #BFAF2F #D5C756
Accessibility & contrast
On white
3.91
#8E8223 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#8E8223 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E8223
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E8223 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E8223 | 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)
#8F7E12
Deuteranopia (green-blind)
#92832A
Tritanopia (blue-blind)
#997870
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #8e8223; /* rgb */ color: rgb(142, 130, 35); /* oklch */ color: oklch(60.0% 0.112 101.9);
Tailwind
colors: {
custom: {
50: '#b2a665',
500: '#8e8223',
950: '#000000',
},
}SCSS
$custom: #8e8223; $custom-light: #b2a665; $custom-dark: #000000;
JSON
{
"hex": "#8e8223",
"rgb": {
"r": 142,
"g": 130,
"b": 35
},
"hsl": {
"h": 53.271,
"s": 60.452,
"l": 34.706
},
"oklch": {
"l": 0.59998,
"c": 0.11237,
"h": 101.9
},
"luminance": 0.21837
}Semantic roles & 50–950 ramp
primary
#8E8223
secondary
#535FB9
accent
#56E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A