#8E861A#8E861A
#8E861A is a mid, vivid yellow. Relative luminance 0.229; OKLCH L 60.9% C 0.121 H 104.9°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #8E861A |
|---|---|
| RGB | rgb(142, 134, 26) |
| HSL | hsl(56, 69%, 33%) |
| HSV | hsv(56, 82%, 56%) |
| CMYK | cmyk(0%, 5.6%, 81.7%, 44.3%) |
| CIE-LAB | lab(54.94, -9.06, 53.97) |
| CIE-LCH | lch(54.94, 54.72, 99.53°) |
| OKLab | oklab(60.85% -0.0312 0.1169) |
| OKLCH | oklch(60.85% 0.121 104.9) |
| XYZ | xyz(19.8678, 22.8764, 4.3461) |
| Luminance | 0.2288 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.73
Baby Poop
#937C00
ΔE00 5.48
Diarrhea
#9F8303
ΔE00 6.29
Shit Green
#758000
ΔE00 6.44
Baby Poop Green
#8F9805
ΔE00 7.05
Swamp Green
#748500
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E861A #1A228E
analogous
#8E4C1A #8E861A #5C8E1A
triadic
#8E861A #1A8E86 #861A8E
tetradic
#8E861A #1A8E4C #1A228E #8E1A5C
square
#8E861A #1A8E4C #1A228E #8E1A5C
split-complementary
#8E861A #1A5C8E #4C1A8E
monochromatic
#272407 #5A5511 #8E861A #C2B723 #DDD345
Accessibility & contrast
On white
3.77
#8E861A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#8E861A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E861A
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E861A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E861A | 1.00 | 3.77 | 5.58 | 5.58 |
| #FFFFFF | 3.77 | 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)
#938100
Deuteranopia (green-blind)
#958623
Tritanopia (blue-blind)
#997C72
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #8e861a; /* rgb */ color: rgb(142, 134, 26); /* oklch */ color: oklch(60.9% 0.121 104.9);
Tailwind
colors: {
custom: {
50: '#b3a862',
500: '#8e861a',
950: '#000000',
},
}SCSS
$custom: #8e861a; $custom-light: #b3a862; $custom-dark: #000000;
JSON
{
"hex": "#8e861a",
"rgb": {
"r": 142,
"g": 134,
"b": 26
},
"hsl": {
"h": 55.862,
"s": 69.048,
"l": 32.941
},
"oklch": {
"l": 0.6085,
"c": 0.12097,
"h": 104.9
},
"luminance": 0.22876
}Semantic roles & 50–950 ramp
primary
#8E861A
secondary
#454EBE
accent
#48EC3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A