#8C821D#8C821D
#8C821D is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.8% C 0.116 H 103.4°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #8C821D |
|---|---|
| RGB | rgb(140, 130, 29) |
| HSL | hsl(55, 66%, 33%) |
| HSV | hsv(55, 79%, 55%) |
| CMYK | cmyk(0%, 7.1%, 79.3%, 45.1%) |
| CIE-LAB | lab(53.63, -7.68, 51.76) |
| CIE-LCH | lch(53.63, 52.33, 98.44°) |
| OKLab | oklab(59.77% -0.027 0.1128) |
| OKLCH | oklch(59.77% 0.116 103.4) |
| XYZ | xyz(19.0205, 21.6302, 4.3353) |
| Luminance | 0.2163 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.57
Baby Poop
#937C00
ΔE00 4.58
Hazel
#8E7618
ΔE00 5.84
Diarrhea
#9F8303
ΔE00 6.09
Shit Green
#758000
ΔE00 6.44
Ugly Brown
#7D7103
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C821D #1D278C
analogous
#8C4B1D #8C821D #5E8C1D
triadic
#8C821D #1D8C82 #821D8C
tetradic
#8C821D #1D8C4B #1D278C #8C1D5E
square
#8C821D #1D8C4B #1D278C #8C1D5E
split-complementary
#8C821D #1D5E8C #4B1D8C
monochromatic
#272408 #595312 #8C821D #BFB128 #D9CD4A
Accessibility & contrast
On white
3.94
#8C821D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.33
#8C821D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8C821D
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C821D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8C821D | 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)
#8E7D04
Deuteranopia (green-blind)
#928225
Tritanopia (blue-blind)
#97786F
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #8c821d; /* rgb */ color: rgb(140, 130, 29); /* oklch */ color: oklch(59.8% 0.116 103.4);
Tailwind
colors: {
custom: {
50: '#b1a662',
500: '#8c821d',
950: '#000000',
},
}SCSS
$custom: #8c821d; $custom-light: #b1a662; $custom-dark: #000000;
JSON
{
"hex": "#8c821d",
"rgb": {
"r": 140,
"g": 130,
"b": 29
},
"hsl": {
"h": 54.595,
"s": 65.68,
"l": 33.137
},
"oklch": {
"l": 0.59766,
"c": 0.11602,
"h": 103.4
},
"luminance": 0.21629
}Semantic roles & 50–950 ramp
primary
#8C821D
secondary
#4953BC
accent
#4EE93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A