#8C841A#8C841A
#8C841A is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.2% C 0.119 H 104.9°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #8C841A |
|---|---|
| RGB | rgb(140, 132, 26) |
| HSL | hsl(56, 69%, 33%) |
| HSV | hsv(56, 81%, 55%) |
| CMYK | cmyk(0%, 5.7%, 81.4%, 45.1%) |
| CIE-LAB | lab(54.19, -8.89, 53.23) |
| CIE-LCH | lch(54.19, 53.97, 99.48°) |
| OKLab | oklab(60.2% -0.0306 0.1154) |
| OKLCH | oklch(60.2% 0.119 104.9) |
| XYZ | xyz(19.2538, 22.1533, 4.2389) |
| Luminance | 0.2215 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.26
Baby Poop
#937C00
ΔE00 5.21
Shit Green
#758000
ΔE00 6.08
Diarrhea
#9F8303
ΔE00 6.42
Hazel
#8E7618
ΔE00 6.74
Swamp Green
#748500
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C841A #1A228C
analogous
#8C4B1A #8C841A #5B8C1A
triadic
#8C841A #1A8C84 #841A8C
tetradic
#8C841A #1A8C4B #1A228C #8C1A5B
square
#8C841A #1A8C4B #1A228C #8C1A5B
split-complementary
#8C841A #1A5B8C #4B1A8C
monochromatic
#252307 #585310 #8C841A #C0B524 #DCD244
Accessibility & contrast
On white
3.87
#8C841A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#8C841A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8C841A
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C841A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8C841A | 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)
#938423
Tritanopia (blue-blind)
#977A71
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #8c841a; /* rgb */ color: rgb(140, 132, 26); /* oklch */ color: oklch(60.2% 0.119 104.9);
Tailwind
colors: {
custom: {
50: '#b1a761',
500: '#8c841a',
950: '#000000',
},
}SCSS
$custom: #8c841a; $custom-light: #b1a761; $custom-dark: #000000;
JSON
{
"hex": "#8c841a",
"rgb": {
"r": 140,
"g": 132,
"b": 26
},
"hsl": {
"h": 55.789,
"s": 68.675,
"l": 32.549
},
"oklch": {
"l": 0.60204,
"c": 0.11938,
"h": 104.9
},
"luminance": 0.22153
}Semantic roles & 50–950 ramp
primary
#8C841A
secondary
#444DBE
accent
#49EC3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A