#8E8424#8E8424
#8E8424 is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.5% C 0.114 H 103.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #8E8424 |
|---|---|
| RGB | rgb(142, 132, 36) |
| HSL | hsl(54, 60%, 35%) |
| HSV | hsv(54, 75%, 56%) |
| CMYK | cmyk(0%, 7%, 74.6%, 44.3%) |
| CIE-LAB | lab(54.43, -7.54, 50.05) |
| CIE-LCH | lch(54.43, 50.62, 98.57°) |
| OKLab | oklab(60.46% -0.026 0.1105) |
| OKLCH | oklch(60.46% 0.114 103.2) |
| XYZ | xyz(19.7259, 22.3815, 4.9497) |
| Luminance | 0.2238 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.17
Baby Poop
#937C00
ΔE00 5.04
Diarrhea
#9F8303
ΔE00 6.12
Hazel
#8E7618
ΔE00 6.29
Drab
#828344
ΔE00 6.66
Shit Green
#758000
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E8424 #242E8E
analogous
#8E4F24 #8E8424 #638E24
triadic
#8E8424 #248E84 #84248E
tetradic
#8E8424 #248E4F #242E8E #8E2463
square
#8E8424 #248E4F #242E8E #8E2463
split-complementary
#8E8424 #24638E #4F248E
monochromatic
#2C290B #5D5718 #8E8424 #BFB130 #D5C958
Accessibility & contrast
On white
3.83
#8E8424 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.48
#8E8424 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E8424
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E8424 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E8424 | 1.00 | 3.83 | 5.48 | 5.48 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#908013
Deuteranopia (green-blind)
#93842B
Tritanopia (blue-blind)
#997A71
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #8e8424; /* rgb */ color: rgb(142, 132, 36); /* oklch */ color: oklch(60.5% 0.114 103.2);
Tailwind
colors: {
custom: {
50: '#b2a766',
500: '#8e8424',
950: '#000000',
},
}SCSS
$custom: #8e8424; $custom-light: #b2a766; $custom-dark: #000000;
JSON
{
"hex": "#8e8424",
"rgb": {
"r": 142,
"g": 132,
"b": 36
},
"hsl": {
"h": 54.34,
"s": 59.551,
"l": 34.902
},
"oklch": {
"l": 0.60457,
"c": 0.11353,
"h": 103.2
},
"luminance": 0.22381
}Semantic roles & 50–950 ramp
primary
#8E8424
secondary
#555EB9
accent
#54E345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A