#8C841E#8C841E
#8C841E is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.2% C 0.117 H 104.7°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #8C841E |
|---|---|
| RGB | rgb(140, 132, 30) |
| HSL | hsl(56, 65%, 33%) |
| HSV | hsv(56, 79%, 55%) |
| CMYK | cmyk(0%, 5.7%, 78.6%, 45.1%) |
| CIE-LAB | lab(54.21, -8.73, 51.95) |
| CIE-LCH | lch(54.21, 52.68, 99.54°) |
| OKLab | oklab(60.23% -0.0298 0.1134) |
| OKLCH | oklch(60.23% 0.117 104.7) |
| XYZ | xyz(19.3017, 22.1725, 4.4911) |
| Luminance | 0.2217 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.40
Baby Poop
#937C00
ΔE00 5.31
Shit Green
#758000
ΔE00 6.12
Diarrhea
#9F8303
ΔE00 6.52
Hazel
#8E7618
ΔE00 6.70
Drab
#828344
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C841E #1E268C
analogous
#8C4D1E #8C841E #5D8C1E
triadic
#8C841E #1E8C84 #841E8C
tetradic
#8C841E #1E8C4D #1E268C #8C1E5D
square
#8C841E #1E8C4D #1E268C #8C1E5D
split-complementary
#8C841E #1E5D8C #4D1E8C
monochromatic
#272508 #5A5413 #8C841E #BEB429 #D9CE4C
Accessibility & contrast
On white
3.86
#8C841E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#8C841E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8C841E
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C841E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8C841E | 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)
#907F05
Deuteranopia (green-blind)
#938426
Tritanopia (blue-blind)
#977A71
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #8c841e; /* rgb */ color: rgb(140, 132, 30); /* oklch */ color: oklch(60.2% 0.117 104.7);
Tailwind
colors: {
custom: {
50: '#b1a763',
500: '#8c841e',
950: '#000000',
},
}SCSS
$custom: #8c841e; $custom-light: #b1a763; $custom-dark: #000000;
JSON
{
"hex": "#8c841e",
"rgb": {
"r": 140,
"g": 132,
"b": 30
},
"hsl": {
"h": 55.636,
"s": 64.706,
"l": 33.333
},
"oklch": {
"l": 0.60227,
"c": 0.11729,
"h": 104.7
},
"luminance": 0.22172
}Semantic roles & 50–950 ramp
primary
#8C841E
secondary
#4B53BB
accent
#4CE840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A