#80821A#80821A
#80821A is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.6% C 0.120 H 110.7°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #80821A |
|---|---|
| RGB | rgb(128, 130, 26) |
| HSL | hsl(61, 67%, 31%) |
| HSV | hsv(61, 80%, 51%) |
| CMYK | cmyk(1.5%, 0%, 80%, 49%) |
| CIE-LAB | lab(52.54, -13.33, 51.36) |
| CIE-LCH | lch(52.54, 53.06, 104.55°) |
| OKLab | oklab(58.63% -0.0424 0.1119) |
| OKLCH | oklch(58.63% 0.12 110.7) |
| XYZ | xyz(17.0718, 20.6295, 4.0597) |
| Luminance | 0.2063 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.88
Shit Green
#758000
ΔE00 2.95
Swamp Green
#748500
ΔE00 3.96
Poop Green
#6F7C00
ΔE00 4.34
Murky Green
#6C7A0E
ΔE00 5.20
Olive (survey)
#6E750E
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#80821A #1C1A82
analogous
#82501A #80821A #4C821A
triadic
#80821A #1A8082 #821A80
tetradic
#80821A #1A8250 #1C1A82 #821A4C
square
#80821A #1A8250 #1C1A82 #821A4C
split-complementary
#80821A #1A4C82 #501A82
monochromatic
#1C1C06 #4E4F10 #80821A #B2B524 #D5D83E
Accessibility & contrast
On white
4.10
#80821A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#80821A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #80821A
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##80821A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##80821A | 1.00 | 4.10 | 5.13 | 5.13 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8E7F23
Tritanopia (blue-blind)
#89796F
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #80821a; /* rgb */ color: rgb(128, 130, 26); /* oklch */ color: oklch(58.6% 0.120 110.7);
Tailwind
colors: {
custom: {
50: '#a8a661',
500: '#80821a',
950: '#000000',
},
}SCSS
$custom: #80821a; $custom-light: #a8a661; $custom-dark: #000000;
JSON
{
"hex": "#80821a",
"rgb": {
"r": 128,
"g": 130,
"b": 26
},
"hsl": {
"h": 61.154,
"s": 66.667,
"l": 30.588
},
"oklch": {
"l": 0.58631,
"c": 0.11966,
"h": 110.7
},
"luminance": 0.20629
}Semantic roles & 50–950 ramp
primary
#80821A
secondary
#4442B6
accent
#3EEA42
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A