#7FA54C#7FA54C
#7FA54C is a light, vivid yellow-green. Relative luminance 0.319; OKLCH L 67.4% C 0.125 H 128.5°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #7FA54C |
|---|---|
| RGB | rgb(127, 165, 76) |
| HSL | hsl(86, 37%, 47%) |
| HSV | hsv(86, 54%, 65%) |
| CMYK | cmyk(23%, 0%, 53.9%, 35.3%) |
| CIE-LAB | lab(63.30, -27.92, 41.46) |
| CIE-LCH | lch(63.30, 49.99, 123.96°) |
| OKLab | oklab(67.4% -0.0781 0.0981) |
| OKLCH | oklch(67.4% 0.125 128.5) |
| XYZ | xyz(23.5119, 31.9437, 11.7631) |
| Luminance | 0.3194 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Asparagus
#77AB56
ΔE00 3.24
Leaf
#71AA34
ΔE00 4.19
Off Green
#6BA353
ΔE00 4.43
Flat Green
#699D4C
ΔE00 4.67
Dull Green
#74A662
ΔE00 5.26
Nasty Green
#70B23F
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7FA54C #724CA5
analogous
#A59E4C #7FA54C #53A54C
triadic
#7FA54C #4C7FA5 #A54C7F
tetradic
#7FA54C #4CA59E #724CA5 #A54C53
square
#7FA54C #4CA59E #724CA5 #A54C53
split-complementary
#7FA54C #4C53A5 #9E4CA5
monochromatic
#3E5125 #5F7B39 #7FA54C #9DBD71 #BAD19B
Accessibility & contrast
On white
2.84
#7FA54C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.39
#7FA54C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #7FA54C
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7FA54C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7FA54C | 1.00 | 2.84 | 7.39 | 7.39 |
| #FFFFFF | 2.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9B44
Deuteranopia (green-blind)
#A79852
Tritanopia (blue-blind)
#829E91
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #7fa54c; /* rgb */ color: rgb(127, 165, 76); /* oklch */ color: oklch(67.4% 0.125 128.5);
Tailwind
colors: {
custom: {
50: '#a6c080',
500: '#7fa54c',
950: '#000000',
},
}SCSS
$custom: #7fa54c; $custom-light: #a6c080; $custom-dark: #000000;
JSON
{
"hex": "#7fa54c",
"rgb": {
"r": 127,
"g": 165,
"b": 76
},
"hsl": {
"h": 85.618,
"s": 36.929,
"l": 47.255
},
"oklch": {
"l": 0.67398,
"c": 0.12541,
"h": 128.5
},
"luminance": 0.31944
}Semantic roles & 50–950 ramp
primary
#7FA54C
secondary
#A38FBD
accent
#5BCD8C
background
#FAFBF8
surface
#F4F7EF
border
#CED0CA
text
#10120A
muted
#7F817C