#7AAF2A#7AAF2A
#7AAF2A is a light, vivid yellow-green. Relative luminance 0.350; OKLCH L 69.2% C 0.167 H 129.4°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #7AAF2A |
|---|---|
| RGB | rgb(122, 175, 42) |
| HSL | hsl(84, 61%, 43%) |
| HSV | hsv(84, 76%, 69%) |
| CMYK | cmyk(30.3%, 0%, 76%, 31.4%) |
| CIE-LAB | lab(65.72, -37.21, 58.24) |
| CIE-LCH | lch(65.72, 69.11, 122.57°) |
| OKLab | oklab(69.19% -0.1062 0.1294) |
| OKLCH | oklch(69.19% 0.167 129.4) |
| XYZ | xyz(23.7739, 34.9640, 7.6862) |
| Luminance | 0.3497 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Leaf
#71AA34
ΔE00 2.59
Nasty Green
#70B23F
ΔE00 3.51
Avocado Green
#87A922
ΔE00 3.69
Avocado (survey)
#90B134
ΔE00 3.82
Dark Lime
#84B701
ΔE00 3.90
Kermit Green
#5CB200
ΔE00 4.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7AAF2A #5F2AAF
analogous
#AFA22A #7AAF2A #37AF2A
triadic
#7AAF2A #2A7AAF #AF2A7A
tetradic
#7AAF2A #2AAFA2 #5F2AAF #AF2A37
square
#7AAF2A #2AAFA2 #5F2AAF #AF2A37
split-complementary
#7AAF2A #2A37AF #A22AAF
monochromatic
#354C12 #587E1E #7AAF2A #9AD244 #B4DE75
Accessibility & contrast
On white
2.63
#7AAF2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.99
#7AAF2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #7AAF2A
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7AAF2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7AAF2A | 1.00 | 2.63 | 7.99 | 7.99 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A20A
Deuteranopia (green-blind)
#B09E37
Tritanopia (blue-blind)
#7EA796
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #7aaf2a; /* rgb */ color: rgb(122, 175, 42); /* oklch */ color: oklch(69.2% 0.167 129.4);
Tailwind
colors: {
custom: {
50: '#a5c76e',
500: '#7aaf2a',
950: '#000000',
},
}SCSS
$custom: #7aaf2a; $custom-light: #a5c76e; $custom-dark: #000000;
JSON
{
"hex": "#7aaf2a",
"rgb": {
"r": 122,
"g": 175,
"b": 42
},
"hsl": {
"h": 83.91,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.69194,
"c": 0.16742,
"h": 129.4
},
"luminance": 0.34965
}Semantic roles & 50–950 ramp
primary
#7AAF2A
secondary
#926FC6
accent
#43E484
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B