#79821A#79821A
#79821A is a mid, vivid yellow. Relative luminance 0.201; OKLCH L 58.0% C 0.122 H 114.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #79821A |
|---|---|
| RGB | rgb(121, 130, 26) |
| HSL | hsl(65, 67%, 31%) |
| HSV | hsv(65, 80%, 51%) |
| CMYK | cmyk(6.9%, 0%, 80%, 49%) |
| CIE-LAB | lab(51.96, -16.52, 50.61) |
| CIE-LCH | lch(51.96, 53.24, 108.08°) |
| OKLab | oklab(58.02% -0.0508 0.1106) |
| OKLCH | oklch(58.02% 0.122 114.7) |
| XYZ | xyz(16.0547, 20.1051, 4.0120) |
| Luminance | 0.2011 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.79
Swamp Green
#748500
ΔE00 2.45
Poop Green
#6F7C00
ΔE00 2.99
Olive
#808000
ΔE00 3.34
Murky Green
#6C7A0E
ΔE00 3.73
Olive Green
#677A04
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#79821A #231A82
analogous
#82571A #79821A #45821A
triadic
#79821A #1A7982 #821A79
tetradic
#79821A #1A8257 #231A82 #821A45
square
#79821A #1A8257 #231A82 #821A45
split-complementary
#79821A #1A4582 #571A82
monochromatic
#1A1C06 #4A4F10 #79821A #A8B524 #CBD83E
Accessibility & contrast
On white
4.18
#79821A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#79821A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #79821A
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##79821A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##79821A | 1.00 | 4.18 | 5.02 | 5.02 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8B7D24
Tritanopia (blue-blind)
#817A6F
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #79821a; /* rgb */ color: rgb(121, 130, 26); /* oklch */ color: oklch(58.0% 0.122 114.7);
Tailwind
colors: {
custom: {
50: '#a3a661',
500: '#79821a',
950: '#000000',
},
}SCSS
$custom: #79821a; $custom-light: #a3a661; $custom-dark: #000000;
JSON
{
"hex": "#79821a",
"rgb": {
"r": 121,
"g": 130,
"b": 26
},
"hsl": {
"h": 65.192,
"s": 66.667,
"l": 30.588
},
"oklch": {
"l": 0.58017,
"c": 0.12172,
"h": 114.7
},
"luminance": 0.20105
}Semantic roles & 50–950 ramp
primary
#79821A
secondary
#4C42B6
accent
#3EEA4D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A