#8C841D#8C841D
#8C841D is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.2% C 0.118 H 104.8°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #8C841D |
|---|---|
| RGB | rgb(140, 132, 29) |
| HSL | hsl(56, 66%, 33%) |
| HSV | hsv(56, 79%, 55%) |
| CMYK | cmyk(0%, 5.7%, 79.3%, 45.1%) |
| CIE-LAB | lab(54.20, -8.78, 52.28) |
| CIE-LCH | lch(54.20, 53.01, 99.53°) |
| OKLab | oklab(60.22% -0.03 0.114) |
| OKLCH | oklch(60.22% 0.118 104.8) |
| XYZ | xyz(19.2891, 22.1675, 4.4249) |
| Luminance | 0.2217 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.36
Baby Poop
#937C00
ΔE00 5.28
Shit Green
#758000
ΔE00 6.11
Diarrhea
#9F8303
ΔE00 6.49
Hazel
#8E7618
ΔE00 6.71
Swamp Green
#748500
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C841D #1D258C
analogous
#8C4D1D #8C841D #5C8C1D
triadic
#8C841D #1D8C84 #841D8C
tetradic
#8C841D #1D8C4D #1D258C #8C1D5C
square
#8C841D #1D8C4D #1D258C #8C1D5C
split-complementary
#8C841D #1D5C8C #4D1D8C
monochromatic
#272408 #595412 #8C841D #BFB428 #D9CF4A
Accessibility & contrast
On white
3.86
#8C841D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#8C841D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8C841D
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C841D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8C841D | 1.00 | 3.86 | 5.43 | 5.43 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F03
Deuteranopia (green-blind)
#938425
Tritanopia (blue-blind)
#977A71
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #8c841d; /* rgb */ color: rgb(140, 132, 29); /* oklch */ color: oklch(60.2% 0.118 104.8);
Tailwind
colors: {
custom: {
50: '#b1a763',
500: '#8c841d',
950: '#000000',
},
}SCSS
$custom: #8c841d; $custom-light: #b1a763; $custom-dark: #000000;
JSON
{
"hex": "#8c841d",
"rgb": {
"r": 140,
"g": 132,
"b": 29
},
"hsl": {
"h": 55.676,
"s": 65.68,
"l": 33.137
},
"oklch": {
"l": 0.60221,
"c": 0.11784,
"h": 104.8
},
"luminance": 0.22167
}Semantic roles & 50–950 ramp
primary
#8C841D
secondary
#4951BC
accent
#4BE93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A