#8E891F#8E891F
#8E891F is a mid, vivid yellow. Relative luminance 0.237; OKLCH L 61.6% C 0.121 H 106.7°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #8E891F |
|---|---|
| RGB | rgb(142, 137, 31) |
| HSL | hsl(57, 64%, 34%) |
| HSV | hsv(57, 78%, 56%) |
| CMYK | cmyk(0%, 3.5%, 78.2%, 44.3%) |
| CIE-LAB | lab(55.83, -10.49, 53.16) |
| CIE-LCH | lch(55.83, 54.18, 101.16°) |
| OKLab | oklab(61.56% -0.0348 0.1161) |
| OKLCH | oklch(61.56% 0.121 106.7) |
| XYZ | xyz(20.3492, 23.7418, 4.8068) |
| Luminance | 0.2374 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.10
Baby Poop Green
#8F9805
ΔE00 5.95
Pea Soup
#929901
ΔE00 6.11
Shit Green
#758000
ΔE00 6.32
Baby Shit Green
#889717
ΔE00 6.35
Swamp Green
#748500
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E891F #1F248E
analogous
#8E521F #8E891F #5C8E1F
triadic
#8E891F #1F8E89 #891F8E
tetradic
#8E891F #1F8E52 #1F248E #8E1F5C
square
#8E891F #1F8E52 #1F248E #8E1F5C
split-complementary
#8E891F #1F5C8E #521F8E
monochromatic
#2A2809 #5C5914 #8E891F #C0B92A #D9D24F
Accessibility & contrast
On white
3.65
#8E891F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.75
#8E891F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E891F
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E891F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E891F | 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)
#958404
Deuteranopia (green-blind)
#978828
Tritanopia (blue-blind)
#997F75
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #8e891f; /* rgb */ color: rgb(142, 137, 31); /* oklch */ color: oklch(61.6% 0.121 106.7);
Tailwind
colors: {
custom: {
50: '#b3ab64',
500: '#8e891f',
950: '#000000',
},
}SCSS
$custom: #8e891f; $custom-light: #b3ab64; $custom-dark: #000000;
JSON
{
"hex": "#8e891f",
"rgb": {
"r": 142,
"g": 137,
"b": 31
},
"hsl": {
"h": 57.297,
"s": 64.162,
"l": 33.922
},
"oklch": {
"l": 0.61562,
"c": 0.12122,
"h": 106.7
},
"luminance": 0.23741
}Semantic roles & 50–950 ramp
primary
#8E891F
secondary
#4D52BB
accent
#48E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A