#8D861D#8D861D
#8D861D is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 60.8% C 0.120 H 105.4°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #8D861D |
|---|---|
| RGB | rgb(141, 134, 29) |
| HSL | hsl(56, 66%, 33%) |
| HSV | hsv(56, 79%, 55%) |
| CMYK | cmyk(0%, 5%, 79.4%, 44.7%) |
| CIE-LAB | lab(54.87, -9.40, 52.92) |
| CIE-LCH | lch(54.87, 53.74, 100.08°) |
| OKLab | oklab(60.77% -0.0319 0.1153) |
| OKLCH | oklch(60.77% 0.12 105.4) |
| XYZ | xyz(19.7322, 22.8024, 4.5241) |
| Luminance | 0.2280 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.58
Baby Poop
#937C00
ΔE00 5.78
Shit Green
#758000
ΔE00 6.17
Diarrhea
#9F8303
ΔE00 6.67
Swamp Green
#748500
ΔE00 6.80
Baby Poop Green
#8F9805
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D861D #1D248D
analogous
#8D4E1D #8D861D #5C8D1D
triadic
#8D861D #1D8D86 #861D8D
tetradic
#8D861D #1D8D4E #1D248D #8D1D5C
square
#8D861D #1D8D4E #1D248D #8D1D5C
split-complementary
#8D861D #1D5C8D #4E1D8D
monochromatic
#272608 #5A5613 #8D861D #C0B627 #DAD14B
Accessibility & contrast
On white
3.78
#8D861D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.56
#8D861D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D861D
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D861D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D861D | 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)
#928101
Deuteranopia (green-blind)
#958526
Tritanopia (blue-blind)
#987C72
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #8d861d; /* rgb */ color: rgb(141, 134, 29); /* oklch */ color: oklch(60.8% 0.120 105.4);
Tailwind
colors: {
custom: {
50: '#b2a863',
500: '#8d861d',
950: '#000000',
},
}SCSS
$custom: #8d861d; $custom-light: #b2a863; $custom-dark: #000000;
JSON
{
"hex": "#8d861d",
"rgb": {
"r": 141,
"g": 134,
"b": 29
},
"hsl": {
"h": 56.25,
"s": 65.882,
"l": 33.333
},
"oklch": {
"l": 0.60771,
"c": 0.11958,
"h": 105.4
},
"luminance": 0.22802
}Semantic roles & 50–950 ramp
primary
#8D861D
secondary
#4A51BC
accent
#4AE93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A