#8D861F#8D861F
#8D861F is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 60.8% C 0.118 H 105.4°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #8D861F |
|---|---|
| RGB | rgb(141, 134, 31) |
| HSL | hsl(56, 64%, 34%) |
| HSV | hsv(56, 78%, 55%) |
| CMYK | cmyk(0%, 5%, 78%, 44.7%) |
| CIE-LAB | lab(54.88, -9.32, 52.25) |
| CIE-LCH | lch(54.88, 53.08, 100.12°) |
| OKLab | oklab(60.78% -0.0314 0.1143) |
| OKLCH | oklch(60.78% 0.118 105.4) |
| XYZ | xyz(19.7578, 22.8126, 4.6586) |
| Luminance | 0.2281 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.65
Baby Poop
#937C00
ΔE00 5.83
Shit Green
#758000
ΔE00 6.19
Diarrhea
#9F8303
ΔE00 6.72
Swamp Green
#748500
ΔE00 6.82
Drab
#828344
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D861F #1F268D
analogous
#8D4F1F #8D861F #5D8D1F
triadic
#8D861F #1F8D86 #861F8D
tetradic
#8D861F #1F8D4F #1F268D #8D1F5D
square
#8D861F #1F8D4F #1F268D #8D1F5D
split-complementary
#8D861F #1F5D8D #4F1F8D
monochromatic
#292709 #5B5614 #8D861F #BFB62A #D8CF4E
Accessibility & contrast
On white
3.78
#8D861F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.56
#8D861F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D861F
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D861F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D861F | 1.00 | 3.78 | 5.56 | 5.56 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928106
Deuteranopia (green-blind)
#958527
Tritanopia (blue-blind)
#987C73
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #8d861f; /* rgb */ color: rgb(141, 134, 31); /* oklch */ color: oklch(60.8% 0.118 105.4);
Tailwind
colors: {
custom: {
50: '#b2a864',
500: '#8d861f',
950: '#000000',
},
}SCSS
$custom: #8d861f; $custom-light: #b2a864; $custom-dark: #000000;
JSON
{
"hex": "#8d861f",
"rgb": {
"r": 141,
"g": 134,
"b": 31
},
"hsl": {
"h": 56.182,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.60783,
"c": 0.11849,
"h": 105.4
},
"luminance": 0.22812
}Semantic roles & 50–950 ramp
primary
#8D861F
secondary
#4D54BB
accent
#4BE741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A