#8E891D#8E891D
#8E891D 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 | #8E891D |
|---|---|
| RGB | rgb(142, 137, 29) |
| HSL | hsl(57, 66%, 34%) |
| HSV | hsv(57, 80%, 56%) |
| CMYK | cmyk(0%, 3.5%, 79.6%, 44.3%) |
| CIE-LAB | lab(55.82, -10.57, 53.80) |
| CIE-LCH | lch(55.82, 54.83, 101.11°) |
| OKLab | oklab(61.55% -0.0352 0.1171) |
| OKLCH | oklch(61.55% 0.122 106.7) |
| XYZ | xyz(20.3236, 23.7316, 4.6723) |
| Luminance | 0.2373 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.06
Baby Poop Green
#8F9805
ΔE00 5.89
Pea Soup
#929901
ΔE00 6.04
Shit Green
#758000
ΔE00 6.31
Baby Shit Green
#889717
ΔE00 6.33
Swamp Green
#748500
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E891D #1D228E
analogous
#8E501D #8E891D #5A8E1D
triadic
#8E891D #1D8E89 #891D8E
tetradic
#8E891D #1D8E50 #1D228E #8E1D5A
square
#8E891D #1D8E50 #1D228E #8E1D5A
split-complementary
#8E891D #1D5A8E #501D8E
monochromatic
#282708 #5B5813 #8E891D #C1BA27 #DAD44B
Accessibility & contrast
On white
3.65
#8E891D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.75
#8E891D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E891D
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E891D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E891D | 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)
#958400
Deuteranopia (green-blind)
#988826
Tritanopia (blue-blind)
#997F75
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #8e891d; /* rgb */ color: rgb(142, 137, 29); /* oklch */ color: oklch(61.6% 0.122 106.7);
Tailwind
colors: {
custom: {
50: '#b3ab63',
500: '#8e891d',
950: '#000000',
},
}SCSS
$custom: #8e891d; $custom-light: #b3ab63; $custom-dark: #000000;
JSON
{
"hex": "#8e891d",
"rgb": {
"r": 142,
"g": 137,
"b": 29
},
"hsl": {
"h": 57.345,
"s": 66.082,
"l": 33.529
},
"oklch": {
"l": 0.6155,
"c": 0.12228,
"h": 106.7
},
"luminance": 0.23731
}Semantic roles & 50–950 ramp
primary
#8E891D
secondary
#4A4FBD
accent
#46E93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A