#828121#828121
#828121 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.6% C 0.114 H 108.9°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #828121 |
|---|---|
| RGB | rgb(130, 129, 33) |
| HSL | hsl(59, 60%, 32%) |
| HSV | hsv(59, 75%, 51%) |
| CMYK | cmyk(0%, 0.8%, 74.6%, 49%) |
| CIE-LAB | lab(52.46, -11.56, 48.92) |
| CIE-LCH | lch(52.46, 50.27, 103.29°) |
| OKLab | oklab(58.62% -0.0369 0.108) |
| OKLCH | oklch(58.62% 0.114 108.9) |
| XYZ | xyz(17.3313, 20.5567, 4.4934) |
| Luminance | 0.2056 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.37
Shit Green
#758000
ΔE00 3.87
Swamp Green
#748500
ΔE00 4.99
Poop Green
#6F7C00
ΔE00 5.00
Drab
#828344
ΔE00 5.48
Murky Green
#6C7A0E
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#828121 #212282
analogous
#825021 #828121 #538221
triadic
#828121 #218281 #812182
tetradic
#828121 #218250 #212282 #822153
square
#828121 #218250 #212282 #822153
split-complementary
#828121 #215382 #502182
monochromatic
#202008 #515115 #828121 #B3B12D #D2D04C
Accessibility & contrast
On white
4.11
#828121 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#828121 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #828121
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##828121 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##828121 | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B0E
Deuteranopia (green-blind)
#8D7F28
Tritanopia (blue-blind)
#8C786F
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #828121; /* rgb */ color: rgb(130, 129, 33); /* oklch */ color: oklch(58.6% 0.114 108.9);
Tailwind
colors: {
custom: {
50: '#a9a564',
500: '#828121',
950: '#000000',
},
}SCSS
$custom: #828121; $custom-light: #a9a564; $custom-dark: #000000;
JSON
{
"hex": "#828121",
"rgb": {
"r": 130,
"g": 129,
"b": 33
},
"hsl": {
"h": 59.381,
"s": 59.509,
"l": 31.961
},
"oklch": {
"l": 0.58621,
"c": 0.11413,
"h": 108.9
},
"luminance": 0.20556
}Semantic roles & 50–950 ramp
primary
#828121
secondary
#4A4BB4
accent
#47E345
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A