#8E861D#8E861D
#8E861D is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 60.9% C 0.119 H 104.8°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #8E861D |
|---|---|
| RGB | rgb(142, 134, 29) |
| HSL | hsl(56, 66%, 34%) |
| HSV | hsv(56, 80%, 56%) |
| CMYK | cmyk(0%, 5.6%, 79.6%, 44.3%) |
| CIE-LAB | lab(54.96, -8.95, 53.03) |
| CIE-LCH | lch(54.96, 53.78, 99.57°) |
| OKLab | oklab(60.87% -0.0306 0.1155) |
| OKLCH | oklch(60.87% 0.119 104.8) |
| XYZ | xyz(19.9031, 22.8905, 4.5321) |
| Luminance | 0.2289 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.80
Baby Poop
#937C00
ΔE00 5.54
Diarrhea
#9F8303
ΔE00 6.36
Shit Green
#758000
ΔE00 6.46
Swamp Green
#748500
ΔE00 7.11
Baby Poop Green
#8F9805
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E861D #1D258E
analogous
#8E4D1D #8E861D #5D8E1D
triadic
#8E861D #1D8E86 #861D8E
tetradic
#8E861D #1D8E4D #1D258E #8E1D5D
square
#8E861D #1D8E4D #1D258E #8E1D5D
split-complementary
#8E861D #1D5D8E #4D1D8E
monochromatic
#282608 #5B5613 #8E861D #C1B627 #DAD04B
Accessibility & contrast
On white
3.76
#8E861D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#8E861D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E861D
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E861D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E861D | 1.00 | 3.76 | 5.58 | 5.58 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938101
Deuteranopia (green-blind)
#958626
Tritanopia (blue-blind)
#997C72
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #8e861d; /* rgb */ color: rgb(142, 134, 29); /* oklch */ color: oklch(60.9% 0.119 104.8);
Tailwind
colors: {
custom: {
50: '#b3a863',
500: '#8e861d',
950: '#000000',
},
}SCSS
$custom: #8e861d; $custom-light: #b3a863; $custom-dark: #000000;
JSON
{
"hex": "#8e861d",
"rgb": {
"r": 142,
"g": 134,
"b": 29
},
"hsl": {
"h": 55.752,
"s": 66.082,
"l": 33.529
},
"oklch": {
"l": 0.60866,
"c": 0.11946,
"h": 104.8
},
"luminance": 0.2289
}Semantic roles & 50–950 ramp
primary
#8E861D
secondary
#4A52BD
accent
#4BE93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A