#8C821E#8C821E
#8C821E is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.8% C 0.115 H 103.4°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #8C821E |
|---|---|
| RGB | rgb(140, 130, 30) |
| HSL | hsl(55, 65%, 33%) |
| HSV | hsv(55, 79%, 55%) |
| CMYK | cmyk(0%, 7.1%, 78.6%, 45.1%) |
| CIE-LAB | lab(53.64, -7.64, 51.43) |
| CIE-LCH | lch(53.64, 51.99, 98.45°) |
| OKLab | oklab(59.77% -0.0267 0.1123) |
| OKLCH | oklch(59.77% 0.115 103.4) |
| XYZ | xyz(19.0331, 21.6353, 4.4015) |
| Luminance | 0.2163 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.62
Baby Poop
#937C00
ΔE00 4.61
Hazel
#8E7618
ΔE00 5.83
Diarrhea
#9F8303
ΔE00 6.12
Shit Green
#758000
ΔE00 6.46
Ugly Brown
#7D7103
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C821E #1E288C
analogous
#8C4B1E #8C821E #5F8C1E
triadic
#8C821E #1E8C82 #821E8C
tetradic
#8C821E #1E8C4B #1E288C #8C1E5F
square
#8C821E #1E8C4B #1E288C #8C1E5F
split-complementary
#8C821E #1E5F8C #4B1E8C
monochromatic
#272408 #5A5313 #8C821E #BEB129 #D9CC4C
Accessibility & contrast
On white
3.94
#8C821E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.33
#8C821E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8C821E
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C821E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8C821E | 1.00 | 3.94 | 5.33 | 5.33 |
| #FFFFFF | 3.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D06
Deuteranopia (green-blind)
#928226
Tritanopia (blue-blind)
#97786F
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #8c821e; /* rgb */ color: rgb(140, 130, 30); /* oklch */ color: oklch(59.8% 0.115 103.4);
Tailwind
colors: {
custom: {
50: '#b1a663',
500: '#8c821e',
950: '#000000',
},
}SCSS
$custom: #8c821e; $custom-light: #b1a663; $custom-dark: #000000;
JSON
{
"hex": "#8c821e",
"rgb": {
"r": 140,
"g": 130,
"b": 30
},
"hsl": {
"h": 54.545,
"s": 64.706,
"l": 33.333
},
"oklch": {
"l": 0.59772,
"c": 0.11547,
"h": 103.4
},
"luminance": 0.21634
}Semantic roles & 50–950 ramp
primary
#8C821E
secondary
#4B55BB
accent
#4FE840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A