#828020#828020
#828020 is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.4% C 0.114 H 108.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #828020 |
|---|---|
| RGB | rgb(130, 128, 32) |
| HSL | hsl(59, 60%, 32%) |
| HSV | hsv(59, 75%, 51%) |
| CMYK | cmyk(0%, 1.5%, 75.4%, 49%) |
| CIE-LAB | lab(52.16, -11.06, 49.01) |
| CIE-LCH | lch(52.16, 50.24, 102.72°) |
| OKLab | oklab(58.38% -0.0356 0.108) |
| OKLCH | oklch(58.38% 0.114 108.2) |
| XYZ | xyz(17.1865, 20.2890, 4.3771) |
| Luminance | 0.2029 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.31
Shit Green
#758000
ΔE00 4.01
Poop Green
#6F7C00
ΔE00 5.04
Swamp Green
#748500
ΔE00 5.27
Drab
#828344
ΔE00 5.61
Olive (survey)
#6E750E
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#828020 #202282
analogous
#824F20 #828020 #538220
triadic
#828020 #208280 #802082
tetradic
#828020 #20824F #202282 #822053
square
#828020 #20824F #202282 #822053
split-complementary
#828020 #205382 #4F2082
monochromatic
#201F08 #515014 #828020 #B3B02C #D2D04A
Accessibility & contrast
On white
4.15
#828020 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#828020 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #828020
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##828020 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##828020 | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B0D
Deuteranopia (green-blind)
#8D7E27
Tritanopia (blue-blind)
#8C776E
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #828020; /* rgb */ color: rgb(130, 128, 32); /* oklch */ color: oklch(58.4% 0.114 108.2);
Tailwind
colors: {
custom: {
50: '#a9a463',
500: '#828020',
950: '#000000',
},
}SCSS
$custom: #828020; $custom-light: #a9a463; $custom-dark: #000000;
JSON
{
"hex": "#828020",
"rgb": {
"r": 130,
"g": 128,
"b": 32
},
"hsl": {
"h": 58.776,
"s": 60.494,
"l": 31.765
},
"oklch": {
"l": 0.58381,
"c": 0.11372,
"h": 108.2
},
"luminance": 0.20288
}Semantic roles & 50–950 ramp
primary
#828020
secondary
#494BB5
accent
#47E444
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A