#8D841D#8D841D
#8D841D is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.3% C 0.118 H 104.2°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #8D841D |
|---|---|
| RGB | rgb(141, 132, 29) |
| HSL | hsl(55, 66%, 33%) |
| HSV | hsv(55, 79%, 55%) |
| CMYK | cmyk(0%, 6.4%, 79.4%, 44.7%) |
| CIE-LAB | lab(54.30, -8.32, 52.40) |
| CIE-LCH | lch(54.30, 53.05, 99.02°) |
| OKLab | oklab(60.32% -0.0288 0.1142) |
| OKLCH | oklch(60.32% 0.118 104.2) |
| XYZ | xyz(19.4584, 22.2548, 4.4328) |
| Luminance | 0.2225 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.61
Baby Poop
#937C00
ΔE00 5.03
Diarrhea
#9F8303
ΔE00 6.18
Shit Green
#758000
ΔE00 6.40
Hazel
#8E7618
ΔE00 6.52
Drab
#828344
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D841D #1D268D
analogous
#8D4C1D #8D841D #5E8D1D
triadic
#8D841D #1D8D84 #841D8D
tetradic
#8D841D #1D8D4C #1D268D #8D1D5E
square
#8D841D #1D8D4C #1D268D #8D1D5E
split-complementary
#8D841D #1D5E8D #4C1D8D
monochromatic
#272508 #5A5413 #8D841D #C0B427 #DACE4B
Accessibility & contrast
On white
3.85
#8D841D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.45
#8D841D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D841D
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D841D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D841D | 1.00 | 3.85 | 5.45 | 5.45 |
| #FFFFFF | 3.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F03
Deuteranopia (green-blind)
#938425
Tritanopia (blue-blind)
#987A71
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #8d841d; /* rgb */ color: rgb(141, 132, 29); /* oklch */ color: oklch(60.3% 0.118 104.2);
Tailwind
colors: {
custom: {
50: '#b2a763',
500: '#8d841d',
950: '#000000',
},
}SCSS
$custom: #8d841d; $custom-light: #b2a763; $custom-dark: #000000;
JSON
{
"hex": "#8d841d",
"rgb": {
"r": 141,
"g": 132,
"b": 29
},
"hsl": {
"h": 55.179,
"s": 65.882,
"l": 33.333
},
"oklch": {
"l": 0.60316,
"c": 0.11773,
"h": 104.2
},
"luminance": 0.22254
}Semantic roles & 50–950 ramp
primary
#8D841D
secondary
#4A53BC
accent
#4DE93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A