#7FA04A#7FA04A
#7FA04A is a light, vivid yellow-green. Relative luminance 0.301; OKLCH L 66.2% C 0.120 H 126.8°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #7FA04A |
|---|---|
| RGB | rgb(127, 160, 74) |
| HSL | hsl(83, 37%, 46%) |
| HSV | hsv(83, 54%, 63%) |
| CMYK | cmyk(20.6%, 0%, 53.7%, 37.3%) |
| CIE-LAB | lab(61.78, -25.69, 40.65) |
| CIE-LCH | lch(61.78, 48.09, 122.29°) |
| OKLab | oklab(66.17% -0.0721 0.0962) |
| OKLCH | oklch(66.17% 0.12 126.8) |
| XYZ | xyz(22.5592, 30.1477, 11.1078) |
| Luminance | 0.3015 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Flat Green
#699D4C
ΔE00 4.54
Asparagus
#77AB56
ΔE00 4.55
Moss
#769958
ΔE00 4.67
Drab Green
#749551
ΔE00 4.76
Off Green
#6BA353
ΔE00 4.91
Moss Green
#8A9A5B
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7FA04A #6B4AA0
analogous
#A0964A #7FA04A #54A04A
triadic
#7FA04A #4A7FA0 #A04A7F
tetradic
#7FA04A #4AA096 #6B4AA0 #A04A54
square
#7FA04A #4AA096 #6B4AA0 #A04A54
split-complementary
#7FA04A #4A54A0 #964AA0
monochromatic
#3D4C23 #5E7637 #7FA04A #9DBB6C #B9CE96
Accessibility & contrast
On white
2.99
#7FA04A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.03
#7FA04A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #7FA04A
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7FA04A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7FA04A | 1.00 | 2.99 | 7.03 | 7.03 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A79742
Deuteranopia (green-blind)
#A3954F
Tritanopia (blue-blind)
#83998D
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #7fa04a; /* rgb */ color: rgb(127, 160, 74); /* oklch */ color: oklch(66.2% 0.120 126.8);
Tailwind
colors: {
custom: {
50: '#a6bc7f',
500: '#7fa04a',
950: '#000000',
},
}SCSS
$custom: #7fa04a; $custom-light: #a6bc7f; $custom-dark: #000000;
JSON
{
"hex": "#7fa04a",
"rgb": {
"r": 127,
"g": 160,
"b": 74
},
"hsl": {
"h": 83.023,
"s": 36.752,
"l": 45.882
},
"oklch": {
"l": 0.66167,
"c": 0.12018,
"h": 126.8
},
"luminance": 0.30148
}Semantic roles & 50–950 ramp
primary
#7FA04A
secondary
#9D8BBB
accent
#5BCD87
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#10120A
muted
#7F817C