#8C841C#8C841C
#8C841C 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 | #8C841C |
|---|---|
| RGB | rgb(140, 132, 28) |
| HSL | hsl(56, 67%, 33%) |
| HSV | hsv(56, 80%, 55%) |
| CMYK | cmyk(0%, 5.7%, 80%, 45.1%) |
| CIE-LAB | lab(54.20, -8.82, 52.61) |
| CIE-LCH | lch(54.20, 53.34, 99.51°) |
| OKLab | oklab(60.22% -0.0302 0.1144) |
| OKLCH | oklch(60.22% 0.118 104.8) |
| XYZ | xyz(19.2769, 22.1626, 4.3608) |
| Luminance | 0.2216 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.33
Baby Poop
#937C00
ΔE00 5.26
Shit Green
#758000
ΔE00 6.10
Diarrhea
#9F8303
ΔE00 6.47
Hazel
#8E7618
ΔE00 6.72
Swamp Green
#748500
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C841C #1C248C
analogous
#8C4C1C #8C841C #5C8C1C
triadic
#8C841C #1C8C84 #841C8C
tetradic
#8C841C #1C8C4C #1C248C #8C1C5C
square
#8C841C #1C8C4C #1C248C #8C1C5C
split-complementary
#8C841C #1C5C8C #4C1C8C
monochromatic
#262408 #595412 #8C841C #BFB426 #DAD048
Accessibility & contrast
On white
3.87
#8C841C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#8C841C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8C841C
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C841C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8C841C | 1.00 | 3.87 | 5.43 | 5.43 |
| #FFFFFF | 3.87 | 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)
#907F00
Deuteranopia (green-blind)
#938424
Tritanopia (blue-blind)
#977A71
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #8c841c; /* rgb */ color: rgb(140, 132, 28); /* oklch */ color: oklch(60.2% 0.118 104.8);
Tailwind
colors: {
custom: {
50: '#b1a762',
500: '#8c841c',
950: '#000000',
},
}SCSS
$custom: #8c841c; $custom-light: #b1a762; $custom-dark: #000000;
JSON
{
"hex": "#8c841c",
"rgb": {
"r": 140,
"g": 132,
"b": 28
},
"hsl": {
"h": 55.714,
"s": 66.667,
"l": 32.941
},
"oklch": {
"l": 0.60215,
"c": 0.11837,
"h": 104.8
},
"luminance": 0.22162
}Semantic roles & 50–950 ramp
primary
#8C841C
secondary
#4850BC
accent
#4AEA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A