#8E8520#8E8520
#8E8520 is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.7% C 0.117 H 104.1°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #8E8520 |
|---|---|
| RGB | rgb(142, 133, 32) |
| HSL | hsl(55, 63%, 34%) |
| HSV | hsv(55, 77%, 56%) |
| CMYK | cmyk(0%, 6.3%, 77.5%, 44.3%) |
| CIE-LAB | lab(54.69, -8.28, 51.77) |
| CIE-LCH | lch(54.69, 52.42, 99.08°) |
| OKLab | oklab(60.66% -0.0285 0.1134) |
| OKLCH | oklch(60.66% 0.117 104.1) |
| XYZ | xyz(19.8044, 22.6309, 4.6912) |
| Luminance | 0.2263 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.91
Baby Poop
#937C00
ΔE00 5.24
Diarrhea
#9F8303
ΔE00 6.19
Shit Green
#758000
ΔE00 6.60
Hazel
#8E7618
ΔE00 6.74
Drab
#828344
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E8520 #20298E
analogous
#8E4E20 #8E8520 #608E20
triadic
#8E8520 #208E85 #85208E
tetradic
#8E8520 #208E4E #20298E #8E2060
square
#8E8520 #208E4E #20298E #8E2060
split-complementary
#8E8520 #20608E #4E208E
monochromatic
#2A2709 #5C5615 #8E8520 #C0B42B #D8CD51
Accessibility & contrast
On white
3.80
#8E8520 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.53
#8E8520 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E8520
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E8520 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E8520 | 1.00 | 3.80 | 5.53 | 5.53 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918009
Deuteranopia (green-blind)
#948528
Tritanopia (blue-blind)
#997B72
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #8e8520; /* rgb */ color: rgb(142, 133, 32); /* oklch */ color: oklch(60.7% 0.117 104.1);
Tailwind
colors: {
custom: {
50: '#b3a864',
500: '#8e8520',
950: '#000000',
},
}SCSS
$custom: #8e8520; $custom-light: #b3a864; $custom-dark: #000000;
JSON
{
"hex": "#8e8520",
"rgb": {
"r": 142,
"g": 133,
"b": 32
},
"hsl": {
"h": 55.091,
"s": 63.218,
"l": 34.118
},
"oklch": {
"l": 0.60657,
"c": 0.11689,
"h": 104.1
},
"luminance": 0.2263
}Semantic roles & 50–950 ramp
primary
#8E8520
secondary
#4F58BB
accent
#4FE642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A