#8E841D#8E841D
#8E841D is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.4% C 0.118 H 103.5°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #8E841D |
|---|---|
| RGB | rgb(142, 132, 29) |
| HSL | hsl(55, 66%, 34%) |
| HSV | hsv(55, 80%, 56%) |
| CMYK | cmyk(0%, 7%, 79.6%, 44.3%) |
| CIE-LAB | lab(54.39, -7.85, 52.52) |
| CIE-LCH | lch(54.39, 53.10, 98.51°) |
| OKLab | oklab(60.41% -0.0275 0.1144) |
| OKLCH | oklch(60.41% 0.118 103.5) |
| XYZ | xyz(19.6293, 22.3429, 4.4408) |
| Luminance | 0.2234 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.87
Baby Poop
#937C00
ΔE00 4.78
Diarrhea
#9F8303
ΔE00 5.87
Hazel
#8E7618
ΔE00 6.34
Shit Green
#758000
ΔE00 6.71
Puke Brown
#947706
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E841D #1D278E
analogous
#8E4B1D #8E841D #5F8E1D
triadic
#8E841D #1D8E84 #841D8E
tetradic
#8E841D #1D8E4B #1D278E #8E1D5F
square
#8E841D #1D8E4B #1D278E #8E1D5F
split-complementary
#8E841D #1D5F8E #4B1D8E
monochromatic
#282608 #5B5513 #8E841D #C1B327 #DACE4B
Accessibility & contrast
On white
3.84
#8E841D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.47
#8E841D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E841D
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E841D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E841D | 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)
#917F03
Deuteranopia (green-blind)
#948425
Tritanopia (blue-blind)
#997A71
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #8e841d; /* rgb */ color: rgb(142, 132, 29); /* oklch */ color: oklch(60.4% 0.118 103.5);
Tailwind
colors: {
custom: {
50: '#b3a763',
500: '#8e841d',
950: '#000000',
},
}SCSS
$custom: #8e841d; $custom-light: #b3a763; $custom-dark: #000000;
JSON
{
"hex": "#8e841d",
"rgb": {
"r": 142,
"g": 132,
"b": 29
},
"hsl": {
"h": 54.69,
"s": 66.082,
"l": 33.529
},
"oklch": {
"l": 0.60412,
"c": 0.11763,
"h": 103.5
},
"luminance": 0.22342
}Semantic roles & 50–950 ramp
primary
#8E841D
secondary
#4A54BD
accent
#4EE93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A