#8E871D#8E871D
#8E871D is a mid, vivid yellow. Relative luminance 0.232; OKLCH L 61.1% C 0.120 H 105.5°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #8E871D |
|---|---|
| RGB | rgb(142, 135, 29) |
| HSL | hsl(56, 66%, 34%) |
| HSV | hsv(56, 80%, 56%) |
| CMYK | cmyk(0%, 4.9%, 79.6%, 44.3%) |
| CIE-LAB | lab(55.25, -9.49, 53.29) |
| CIE-LCH | lch(55.25, 54.13, 100.10°) |
| OKLab | oklab(61.09% -0.0321 0.116) |
| OKLCH | oklch(61.09% 0.12 105.5) |
| XYZ | xyz(20.0419, 23.1682, 4.5784) |
| Luminance | 0.2317 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.84
Baby Poop
#937C00
ΔE00 5.92
Shit Green
#758000
ΔE00 6.38
Diarrhea
#9F8303
ΔE00 6.63
Baby Poop Green
#8F9805
ΔE00 6.70
Pea Soup
#929901
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E871D #1D248E
analogous
#8E4E1D #8E871D #5C8E1D
triadic
#8E871D #1D8E87 #871D8E
tetradic
#8E871D #1D8E4E #1D248E #8E1D5C
square
#8E871D #1D8E4E #1D248E #8E1D5C
split-complementary
#8E871D #1D5C8E #4E1D8E
monochromatic
#282608 #5B5713 #8E871D #C1B727 #DAD14B
Accessibility & contrast
On white
3.73
#8E871D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.63
#8E871D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E871D
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E871D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E871D | 1.00 | 3.73 | 5.63 | 5.63 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938201
Deuteranopia (green-blind)
#968626
Tritanopia (blue-blind)
#997D73
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #8e871d; /* rgb */ color: rgb(142, 135, 29); /* oklch */ color: oklch(61.1% 0.120 105.5);
Tailwind
colors: {
custom: {
50: '#b3a963',
500: '#8e871d',
950: '#000000',
},
}SCSS
$custom: #8e871d; $custom-light: #b3a963; $custom-dark: #000000;
JSON
{
"hex": "#8e871d",
"rgb": {
"r": 142,
"g": 135,
"b": 29
},
"hsl": {
"h": 56.283,
"s": 66.082,
"l": 33.529
},
"oklch": {
"l": 0.61094,
"c": 0.12039,
"h": 105.5
},
"luminance": 0.23167
}Semantic roles & 50–950 ramp
primary
#8E871D
secondary
#4A51BD
accent
#49E93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A