#8E891E#8E891E
#8E891E is a mid, vivid yellow. Relative luminance 0.237; OKLCH L 61.6% C 0.122 H 106.7°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #8E891E |
|---|---|
| RGB | rgb(142, 137, 30) |
| HSL | hsl(57, 65%, 34%) |
| HSV | hsv(57, 79%, 56%) |
| CMYK | cmyk(0%, 3.5%, 78.9%, 44.3%) |
| CIE-LAB | lab(55.82, -10.53, 53.48) |
| CIE-LCH | lch(55.82, 54.51, 101.14°) |
| OKLab | oklab(61.56% -0.035 0.1166) |
| OKLCH | oklch(61.56% 0.122 106.7) |
| XYZ | xyz(20.3362, 23.7366, 4.7384) |
| Luminance | 0.2374 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.08
Baby Poop Green
#8F9805
ΔE00 5.92
Pea Soup
#929901
ΔE00 6.07
Shit Green
#758000
ΔE00 6.31
Baby Shit Green
#889717
ΔE00 6.34
Swamp Green
#748500
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E891E #1E238E
analogous
#8E511E #8E891E #5B8E1E
triadic
#8E891E #1E8E89 #891E8E
tetradic
#8E891E #1E8E51 #1E238E #8E1E5B
square
#8E891E #1E8E51 #1E238E #8E1E5B
split-complementary
#8E891E #1E5B8E #511E8E
monochromatic
#292809 #5B5813 #8E891E #C1BA29 #D9D34D
Accessibility & contrast
On white
3.65
#8E891E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.75
#8E891E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E891E
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E891E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E891E | 1.00 | 3.65 | 5.75 | 5.75 |
| #FFFFFF | 3.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958402
Deuteranopia (green-blind)
#978827
Tritanopia (blue-blind)
#997F75
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #8e891e; /* rgb */ color: rgb(142, 137, 30); /* oklch */ color: oklch(61.6% 0.122 106.7);
Tailwind
colors: {
custom: {
50: '#b3ab64',
500: '#8e891e',
950: '#000000',
},
}SCSS
$custom: #8e891e; $custom-light: #b3ab64; $custom-dark: #000000;
JSON
{
"hex": "#8e891e",
"rgb": {
"r": 142,
"g": 137,
"b": 30
},
"hsl": {
"h": 57.321,
"s": 65.116,
"l": 33.725
},
"oklch": {
"l": 0.61556,
"c": 0.12176,
"h": 106.7
},
"luminance": 0.23736
}Semantic roles & 50–950 ramp
primary
#8E891E
secondary
#4C51BC
accent
#47E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A