#2FAF2F#2FAF2F
#2FAF2F is a light, vivid green. Relative luminance 0.315; OKLCH L 66.1% C 0.198 H 142.9°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2FAF2F |
|---|---|
| RGB | rgb(47, 175, 47) |
| HSL | hsl(120, 58%, 44%) |
| HSV | hsv(120, 73%, 69%) |
| CMYK | cmyk(73.1%, 0%, 73.1%, 31.4%) |
| CIE-LAB | lab(62.90, -58.30, 52.74) |
| CIE-LCH | lch(62.90, 78.61, 137.87°) |
| OKLab | oklab(66.1% -0.1583 0.1196) |
| OKLCH | oklch(66.1% 0.198 142.9) |
| XYZ | xyz(17.0143, 31.4676, 7.8659) |
| Luminance | 0.3147 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Green (survey)
#15B01A
ΔE00 1.73
Kelly Green (survey)
#02AB2E
ΔE00 2.04
Medium Green
#39AD48
ΔE00 3.22
Leafy Green
#51B73B
ΔE00 3.39
Grass
#5CAC2D
ΔE00 4.25
Shamrock
#01B44C
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2FAF2F #AF2FAF
analogous
#6FAF2F #2FAF2F #2FAF6F
triadic
#2FAF2F #2F2FAF #AF2F2F
tetradic
#2FAF2F #2F6FAF #AF2FAF #AF6F2F
square
#2FAF2F #2F6FAF #AF2FAF #AF6F2F
split-complementary
#2FAF2F #6F2FAF #AF2F6F
monochromatic
#154F15 #227F22 #2FAF2F #4CCF4C #7CDC7C
Accessibility & contrast
On white
2.88
#2FAF2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.29
#2FAF2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #2FAF2F
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2FAF2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2FAF2F | 1.00 | 2.88 | 7.29 | 7.29 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E18
Deuteranopia (green-blind)
#A4943C
Tritanopia (blue-blind)
#00AA96
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #2faf2f; /* rgb */ color: rgb(47, 175, 47); /* oklch */ color: oklch(66.1% 0.198 142.9);
Tailwind
colors: {
custom: {
50: '#7cc870',
500: '#2faf2f',
950: '#000000',
},
}SCSS
$custom: #2faf2f; $custom-light: #7cc870; $custom-dark: #000000;
JSON
{
"hex": "#2faf2f",
"rgb": {
"r": 47,
"g": 175,
"b": 47
},
"hsl": {
"h": 120,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.66102,
"c": 0.19838,
"h": 142.9
},
"luminance": 0.3147
}Semantic roles & 50–950 ramp
primary
#2FAF2F
secondary
#C475C4
accent
#47E1E1
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B