#8D891F#8D891F
#8D891F is a mid, vivid yellow. Relative luminance 0.237; OKLCH L 61.5% C 0.121 H 107.2°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #8D891F |
|---|---|
| RGB | rgb(141, 137, 31) |
| HSL | hsl(58, 64%, 34%) |
| HSV | hsv(58, 78%, 55%) |
| CMYK | cmyk(0%, 2.8%, 78%, 44.7%) |
| CIE-LAB | lab(55.74, -10.95, 53.04) |
| CIE-LCH | lch(55.74, 54.16, 101.66°) |
| OKLab | oklab(61.47% -0.036 0.1159) |
| OKLCH | oklch(61.47% 0.121 107.2) |
| XYZ | xyz(20.1783, 23.6537, 4.7988) |
| Luminance | 0.2365 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.96
Baby Poop Green
#8F9805
ΔE00 5.84
Pea Soup
#929901
ΔE00 6.04
Shit Green
#758000
ΔE00 6.07
Baby Shit Green
#889717
ΔE00 6.16
Swamp Green
#748500
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D891F #1F238D
analogous
#8D521F #8D891F #5A8D1F
triadic
#8D891F #1F8D89 #891F8D
tetradic
#8D891F #1F8D52 #1F238D #8D1F5A
square
#8D891F #1F8D52 #1F238D #8D1F5A
split-complementary
#8D891F #1F5A8D #521F8D
monochromatic
#292809 #5B5814 #8D891F #BFBA2A #D8D34E
Accessibility & contrast
On white
3.66
#8D891F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.73
#8D891F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D891F
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D891F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D891F | 1.00 | 3.66 | 5.73 | 5.73 |
| #FFFFFF | 3.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958304
Deuteranopia (green-blind)
#978728
Tritanopia (blue-blind)
#987F75
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #8d891f; /* rgb */ color: rgb(141, 137, 31); /* oklch */ color: oklch(61.5% 0.121 107.2);
Tailwind
colors: {
custom: {
50: '#b2ab64',
500: '#8d891f',
950: '#000000',
},
}SCSS
$custom: #8d891f; $custom-light: #b2ab64; $custom-dark: #000000;
JSON
{
"hex": "#8d891f",
"rgb": {
"r": 141,
"g": 137,
"b": 31
},
"hsl": {
"h": 57.818,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.61469,
"c": 0.12138,
"h": 107.2
},
"luminance": 0.23653
}Semantic roles & 50–950 ramp
primary
#8D891F
secondary
#4D51BB
accent
#47E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A