#8E891A#8E891A
#8E891A is a mid, vivid yellow. Relative luminance 0.237; OKLCH L 61.5% C 0.124 H 106.8°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #8E891A |
|---|---|
| RGB | rgb(142, 137, 26) |
| HSL | hsl(57, 69%, 33%) |
| HSV | hsv(57, 82%, 56%) |
| CMYK | cmyk(0%, 3.5%, 81.7%, 44.3%) |
| CIE-LAB | lab(55.80, -10.68, 54.72) |
| CIE-LCH | lch(55.80, 55.75, 101.05°) |
| OKLab | oklab(61.53% -0.0357 0.1185) |
| OKLCH | oklch(61.53% 0.124 106.8) |
| XYZ | xyz(20.2883, 23.7174, 4.4863) |
| Luminance | 0.2372 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.00
Baby Poop Green
#8F9805
ΔE00 5.81
Pea Soup
#929901
ΔE00 5.95
Shit Green
#758000
ΔE00 6.30
Baby Shit Green
#889717
ΔE00 6.32
Swamp Green
#748500
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E891A #1A1F8E
analogous
#8E4F1A #8E891A #598E1A
triadic
#8E891A #1A8E89 #891A8E
tetradic
#8E891A #1A8E4F #1A1F8E #8E1A59
square
#8E891A #1A8E4F #1A1F8E #8E1A59
split-complementary
#8E891A #1A598E #4F1A8E
monochromatic
#272507 #5A5711 #8E891A #C2BB23 #DDD645
Accessibility & contrast
On white
3.66
#8E891A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.74
#8E891A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E891A
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E891A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E891A | 1.00 | 3.66 | 5.74 | 5.74 |
| #FFFFFF | 3.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#988824
Tritanopia (blue-blind)
#997F75
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #8e891a; /* rgb */ color: rgb(142, 137, 26); /* oklch */ color: oklch(61.5% 0.124 106.8);
Tailwind
colors: {
custom: {
50: '#b3ab62',
500: '#8e891a',
950: '#000000',
},
}SCSS
$custom: #8e891a; $custom-light: #b3ab62; $custom-dark: #000000;
JSON
{
"hex": "#8e891a",
"rgb": {
"r": 142,
"g": 137,
"b": 26
},
"hsl": {
"h": 57.414,
"s": 69.048,
"l": 32.941
},
"oklch": {
"l": 0.61534,
"c": 0.12377,
"h": 106.8
},
"luminance": 0.23717
}Semantic roles & 50–950 ramp
primary
#8E891A
secondary
#454BBE
accent
#44EC3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A