#7FA74A#7FA74A
#7FA74A is a light, vivid yellow-green. Relative luminance 0.326; OKLCH L 67.9% C 0.130 H 128.8°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #7FA74A |
|---|---|
| RGB | rgb(127, 167, 74) |
| HSL | hsl(86, 39%, 47%) |
| HSV | hsv(86, 56%, 65%) |
| CMYK | cmyk(24%, 0%, 55.7%, 34.5%) |
| CIE-LAB | lab(63.87, -29.09, 43.10) |
| CIE-LCH | lch(63.87, 52.00, 124.02°) |
| OKLab | oklab(67.86% -0.0815 0.1015) |
| OKLCH | oklch(67.86% 0.13 128.8) |
| XYZ | xyz(23.8070, 32.6434, 11.5238) |
| Luminance | 0.3264 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Asparagus
#77AB56
ΔE00 3.14
Leaf
#71AA34
ΔE00 3.58
Nasty Green
#70B23F
ΔE00 4.69
Off Green
#6BA353
ΔE00 4.70
Flat Green
#699D4C
ΔE00 5.10
Fern (survey)
#63A950
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7FA74A #724AA7
analogous
#A7A04A #7FA74A #51A74A
triadic
#7FA74A #4A7FA7 #A74A7F
tetradic
#7FA74A #4AA7A0 #724AA7 #A74A51
square
#7FA74A #4AA7A0 #724AA7 #A74A51
split-complementary
#7FA74A #4A51A7 #A04AA7
monochromatic
#3E5224 #5F7D37 #7FA74A #9DBF6F #BAD299
Accessibility & contrast
On white
2.79
#7FA74A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.53
#7FA74A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #7FA74A
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7FA74A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7FA74A | 1.00 | 2.79 | 7.53 | 7.53 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9D41
Deuteranopia (green-blind)
#A99A50
Tritanopia (blue-blind)
#82A092
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #7fa74a; /* rgb */ color: rgb(127, 167, 74); /* oklch */ color: oklch(67.9% 0.130 128.8);
Tailwind
colors: {
custom: {
50: '#a6c17f',
500: '#7fa74a',
950: '#000000',
},
}SCSS
$custom: #7fa74a; $custom-light: #a6c17f; $custom-dark: #000000;
JSON
{
"hex": "#7fa74a",
"rgb": {
"r": 127,
"g": 167,
"b": 74
},
"hsl": {
"h": 85.806,
"s": 38.589,
"l": 47.255
},
"oklch": {
"l": 0.67855,
"c": 0.13018,
"h": 128.8
},
"luminance": 0.32644
}Semantic roles & 50–950 ramp
primary
#7FA74A
secondary
#A38EBE
accent
#59CF8C
background
#FAFBF7
surface
#F4F7EE
border
#CED0C9
text
#10120A
muted
#7F817C