#8E841E#8E841E
#8E841E is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.4% C 0.117 H 103.5°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #8E841E |
|---|---|
| RGB | rgb(142, 132, 30) |
| HSL | hsl(55, 65%, 34%) |
| HSV | hsv(55, 79%, 56%) |
| CMYK | cmyk(0%, 7%, 78.9%, 44.3%) |
| CIE-LAB | lab(54.39, -7.81, 52.19) |
| CIE-LCH | lch(54.39, 52.77, 98.52°) |
| OKLab | oklab(60.42% -0.0273 0.1139) |
| OKLCH | oklch(60.42% 0.117 103.5) |
| XYZ | xyz(19.6418, 22.3479, 4.5070) |
| Luminance | 0.2235 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.90
Baby Poop
#937C00
ΔE00 4.81
Diarrhea
#9F8303
ΔE00 5.90
Hazel
#8E7618
ΔE00 6.33
Shit Green
#758000
ΔE00 6.72
Puke Brown
#947706
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E841E #1E288E
analogous
#8E4C1E #8E841E #608E1E
triadic
#8E841E #1E8E84 #841E8E
tetradic
#8E841E #1E8E4C #1E288E #8E1E60
square
#8E841E #1E8E4C #1E288E #8E1E60
split-complementary
#8E841E #1E608E #4C1E8E
monochromatic
#292609 #5B5513 #8E841E #C1B329 #D9CD4D
Accessibility & contrast
On white
3.84
#8E841E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.47
#8E841E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E841E
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E841E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E841E | 1.00 | 3.84 | 5.47 | 5.47 |
| #FFFFFF | 3.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#917F05
Deuteranopia (green-blind)
#948426
Tritanopia (blue-blind)
#997A71
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #8e841e; /* rgb */ color: rgb(142, 132, 30); /* oklch */ color: oklch(60.4% 0.117 103.5);
Tailwind
colors: {
custom: {
50: '#b3a763',
500: '#8e841e',
950: '#000000',
},
}SCSS
$custom: #8e841e; $custom-light: #b3a763; $custom-dark: #000000;
JSON
{
"hex": "#8e841e",
"rgb": {
"r": 142,
"g": 132,
"b": 30
},
"hsl": {
"h": 54.643,
"s": 65.116,
"l": 33.725
},
"oklch": {
"l": 0.60418,
"c": 0.1171,
"h": 103.5
},
"luminance": 0.22347
}Semantic roles & 50–950 ramp
primary
#8E841E
secondary
#4C56BC
accent
#4FE840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A