#7FA52C#7FA52C
#7FA52C is a light, vivid yellow-green. Relative luminance 0.316; OKLCH L 67.1% C 0.151 H 125.7°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #7FA52C |
|---|---|
| RGB | rgb(127, 165, 44) |
| HSL | hsl(79, 58%, 41%) |
| HSV | hsv(79, 73%, 65%) |
| CMYK | cmyk(23%, 0%, 73.3%, 35.3%) |
| CIE-LAB | lab(63.01, -30.53, 55.02) |
| CIE-LCH | lch(63.01, 62.93, 119.03°) |
| OKLab | oklab(67.08% -0.0882 0.1229) |
| OKLCH | oklch(67.08% 0.151 125.7) |
| XYZ | xyz(22.6623, 31.6038, 7.2886) |
| Luminance | 0.3160 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado Green
#87A922
ΔE00 2.32
Leaf
#71AA34
ΔE00 3.64
Avocado (survey)
#90B134
ΔE00 4.07
Icky Green
#8FAE22
ΔE00 4.09
Vomit Green
#89A203
ΔE00 4.35
Pea Green
#8EAB12
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7FA52C #522CA5
analogous
#A58E2C #7FA52C #42A52C
triadic
#7FA52C #2C7FA5 #A52C7F
tetradic
#7FA52C #2CA58E #522CA5 #A52C42
square
#7FA52C #2CA58E #522CA5 #A52C42
split-complementary
#7FA52C #2C42A5 #8E2CA5
monochromatic
#354412 #5A751F #7FA52C #A1CD42 #B9D972
Accessibility & contrast
On white
2.87
#7FA52C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.32
#7FA52C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #7FA52C
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7FA52C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7FA52C | 1.00 | 2.87 | 7.32 | 7.32 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9A15
Deuteranopia (green-blind)
#A99837
Tritanopia (blue-blind)
#859D8E
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #7fa52c; /* rgb */ color: rgb(127, 165, 44); /* oklch */ color: oklch(67.1% 0.151 125.7);
Tailwind
colors: {
custom: {
50: '#a8bf6e',
500: '#7fa52c',
950: '#000000',
},
}SCSS
$custom: #7fa52c; $custom-light: #a8bf6e; $custom-dark: #000000;
JSON
{
"hex": "#7fa52c",
"rgb": {
"r": 127,
"g": 165,
"b": 44
},
"hsl": {
"h": 78.843,
"s": 57.895,
"l": 40.98
},
"oklch": {
"l": 0.67078,
"c": 0.15122,
"h": 125.7
},
"luminance": 0.31604
}Semantic roles & 50–950 ramp
primary
#7FA52C
secondary
#876CC1
accent
#47E177
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101208
muted
#7F817B