#8D891E#8D891E
#8D891E is a mid, vivid yellow. Relative luminance 0.236; OKLCH L 61.5% C 0.122 H 107.3°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #8D891E |
|---|---|
| RGB | rgb(141, 137, 30) |
| HSL | hsl(58, 65%, 34%) |
| HSV | hsv(58, 79%, 55%) |
| CMYK | cmyk(0%, 2.8%, 78.7%, 44.7%) |
| CIE-LAB | lab(55.73, -10.99, 53.37) |
| CIE-LCH | lch(55.73, 54.49, 101.63°) |
| OKLab | oklab(61.46% -0.0362 0.1164) |
| OKLCH | oklch(61.46% 0.122 107.3) |
| XYZ | xyz(20.1653, 23.6485, 4.7304) |
| Luminance | 0.2365 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.94
Baby Poop Green
#8F9805
ΔE00 5.81
Pea Soup
#929901
ΔE00 6.00
Shit Green
#758000
ΔE00 6.06
Baby Shit Green
#889717
ΔE00 6.15
Swamp Green
#748500
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D891E #1E228D
analogous
#8D511E #8D891E #598D1E
triadic
#8D891E #1E8D89 #891E8D
tetradic
#8D891E #1E8D51 #1E228D #8D1E59
square
#8D891E #1E8D51 #1E228D #8D1E59
split-complementary
#8D891E #1E598D #511E8D
monochromatic
#282709 #5B5813 #8D891E #BFBA29 #D9D44C
Accessibility & contrast
On white
3.67
#8D891E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.73
#8D891E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D891E
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D891E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D891E | 1.00 | 3.67 | 5.73 | 5.73 |
| #FFFFFF | 3.67 | 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)
#958302
Deuteranopia (green-blind)
#978727
Tritanopia (blue-blind)
#987F75
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #8d891e; /* rgb */ color: rgb(141, 137, 30); /* oklch */ color: oklch(61.5% 0.122 107.3);
Tailwind
colors: {
custom: {
50: '#b2ab64',
500: '#8d891e',
950: '#000000',
},
}SCSS
$custom: #8d891e; $custom-light: #b2ab64; $custom-dark: #000000;
JSON
{
"hex": "#8d891e",
"rgb": {
"r": 141,
"g": 137,
"b": 30
},
"hsl": {
"h": 57.838,
"s": 64.912,
"l": 33.529
},
"oklch": {
"l": 0.61463,
"c": 0.12192,
"h": 107.3
},
"luminance": 0.23648
}Semantic roles & 50–950 ramp
primary
#8D891E
secondary
#4B4FBC
accent
#46E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A