#7FA22C#7FA22C
#7FA22C is a light, vivid yellow-green. Relative luminance 0.305; OKLCH L 66.3% C 0.147 H 124.9°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #7FA22C |
|---|---|
| RGB | rgb(127, 162, 44) |
| HSL | hsl(78, 57%, 40%) |
| HSV | hsv(78, 73%, 64%) |
| CMYK | cmyk(21.6%, 0%, 72.8%, 36.5%) |
| CIE-LAB | lab(62.11, -29.10, 54.14) |
| CIE-LCH | lch(62.11, 61.47, 118.26°) |
| OKLab | oklab(66.35% -0.0843 0.121) |
| OKLCH | oklch(66.35% 0.147 124.9) |
| XYZ | xyz(22.1275, 30.5343, 7.1103) |
| Luminance | 0.3054 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado Green
#87A922
ΔE00 2.81
Vomit Green
#89A203
ΔE00 4.13
Ugly Green
#7A9703
ΔE00 4.27
Leaf
#71AA34
ΔE00 4.28
Icky Green
#8FAE22
ΔE00 4.62
Pea Green
#8EAB12
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7FA22C #4F2CA2
analogous
#A28A2C #7FA22C #44A22C
triadic
#7FA22C #2C7FA2 #A22C7F
tetradic
#7FA22C #2CA28A #4F2CA2 #A22C44
square
#7FA22C #2CA28A #4F2CA2 #A22C44
split-complementary
#7FA22C #2C44A2 #8A2CA2
monochromatic
#344212 #59721F #7FA22C #A2CB40 #B9D870
Accessibility & contrast
On white
2.95
#7FA22C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.11
#7FA22C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #7FA22C
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7FA22C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7FA22C | 1.00 | 2.95 | 7.11 | 7.11 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9716
Deuteranopia (green-blind)
#A69636
Tritanopia (blue-blind)
#859A8B
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #7fa22c; /* rgb */ color: rgb(127, 162, 44); /* oklch */ color: oklch(66.3% 0.147 124.9);
Tailwind
colors: {
custom: {
50: '#a7bd6d',
500: '#7fa22c',
950: '#000000',
},
}SCSS
$custom: #7fa22c; $custom-light: #a7bd6d; $custom-dark: #000000;
JSON
{
"hex": "#7fa22c",
"rgb": {
"r": 127,
"g": 162,
"b": 44
},
"hsl": {
"h": 77.797,
"s": 57.282,
"l": 40.392
},
"oklch": {
"l": 0.66348,
"c": 0.14745,
"h": 124.9
},
"luminance": 0.30535
}Semantic roles & 50–950 ramp
primary
#7FA22C
secondary
#846ABF
accent
#47E175
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A