#8E881E#8E881E
#8E881E is a mid, vivid yellow. Relative luminance 0.235; OKLCH L 61.3% C 0.121 H 106.1°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #8E881E |
|---|---|
| RGB | rgb(142, 136, 30) |
| HSL | hsl(57, 65%, 34%) |
| HSV | hsv(57, 79%, 56%) |
| CMYK | cmyk(0%, 4.2%, 78.9%, 44.3%) |
| CIE-LAB | lab(55.54, -9.99, 53.22) |
| CIE-LCH | lch(55.54, 54.15, 100.63°) |
| OKLab | oklab(61.33% -0.0334 0.1161) |
| OKLCH | oklch(61.33% 0.121 106.1) |
| XYZ | xyz(20.1947, 23.4536, 4.6913) |
| Luminance | 0.2345 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.95
Baby Poop Green
#8F9805
ΔE00 6.32
Baby Poop
#937C00
ΔE00 6.33
Shit Green
#758000
ΔE00 6.33
Pea Soup
#929901
ΔE00 6.46
Swamp Green
#748500
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E881E #1E248E
analogous
#8E501E #8E881E #5C8E1E
triadic
#8E881E #1E8E88 #881E8E
tetradic
#8E881E #1E8E50 #1E248E #8E1E5C
square
#8E881E #1E8E50 #1E248E #8E1E5C
split-complementary
#8E881E #1E5C8E #501E8E
monochromatic
#292709 #5B5813 #8E881E #C1B829 #D9D24D
Accessibility & contrast
On white
3.69
#8E881E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.69
#8E881E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E881E
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E881E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E881E | 1.00 | 3.69 | 5.69 | 5.69 |
| #FFFFFF | 3.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948303
Deuteranopia (green-blind)
#978727
Tritanopia (blue-blind)
#997E74
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #8e881e; /* rgb */ color: rgb(142, 136, 30); /* oklch */ color: oklch(61.3% 0.121 106.1);
Tailwind
colors: {
custom: {
50: '#b3aa64',
500: '#8e881e',
950: '#000000',
},
}SCSS
$custom: #8e881e; $custom-light: #b3aa64; $custom-dark: #000000;
JSON
{
"hex": "#8e881e",
"rgb": {
"r": 142,
"g": 136,
"b": 30
},
"hsl": {
"h": 56.786,
"s": 65.116,
"l": 33.725
},
"oklch": {
"l": 0.61327,
"c": 0.1208,
"h": 106.1
},
"luminance": 0.23453
}Semantic roles & 50–950 ramp
primary
#8E881E
secondary
#4C52BC
accent
#49E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A