#7A802A#7A802A
#7A802A is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.7% C 0.108 H 113.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #7A802A |
|---|---|
| RGB | rgb(122, 128, 42) |
| HSL | hsl(64, 51%, 33%) |
| HSV | hsv(64, 67%, 50%) |
| CMYK | cmyk(4.7%, 0%, 67.2%, 49.8%) |
| CIE-LAB | lab(51.55, -14.13, 44.13) |
| CIE-LCH | lch(51.55, 46.34, 107.75°) |
| OKLab | oklab(57.74% -0.0426 0.0998) |
| OKLCH | oklch(57.74% 0.109 113.1) |
| XYZ | xyz(16.1636, 19.7434, 5.1494) |
| Luminance | 0.1974 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 3.65
Poop Green
#6F7C00
ΔE00 4.06
Murky Green
#6C7A0E
ΔE00 4.09
Drab
#828344
ΔE00 4.38
Swamp Green
#748500
ΔE00 4.46
Olive
#808000
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A802A #302A80
analogous
#805B2A #7A802A #4F802A
triadic
#7A802A #2A7A80 #802A7A
tetradic
#7A802A #2A805B #302A80 #802A4F
square
#7A802A #2A805B #302A80 #802A4F
split-complementary
#7A802A #2A4F80 #5B2A80
monochromatic
#22240C #4E521B #7A802A #A6AE39 #C2C95B
Accessibility & contrast
On white
4.24
#7A802A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#7A802A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A802A
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A802A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A802A | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897A1E
Deuteranopia (green-blind)
#897C30
Tritanopia (blue-blind)
#82786E
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #7a802a; /* rgb */ color: rgb(122, 128, 42); /* oklch */ color: oklch(57.7% 0.108 113.1);
Tailwind
colors: {
custom: {
50: '#a3a468',
500: '#7a802a',
950: '#000000',
},
}SCSS
$custom: #7a802a; $custom-light: #a3a468; $custom-dark: #000000;
JSON
{
"hex": "#7a802a",
"rgb": {
"r": 122,
"g": 128,
"b": 42
},
"hsl": {
"h": 64.186,
"s": 50.588,
"l": 33.333
},
"oklch": {
"l": 0.57743,
"c": 0.1085,
"h": 113.1
},
"luminance": 0.19743
}Semantic roles & 50–950 ramp
primary
#7A802A
secondary
#5D57AF
accent
#4EDA58
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A