#2FAF42#2FAF42
#2FAF42 is a light, vivid green. Relative luminance 0.317; OKLCH L 66.3% C 0.185 H 145.3°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2FAF42 |
|---|---|
| RGB | rgb(47, 175, 66) |
| HSL | hsl(129, 58%, 44%) |
| HSV | hsv(129, 73%, 69%) |
| CMYK | cmyk(73.1%, 0%, 62.3%, 31.4%) |
| CIE-LAB | lab(63.06, -56.40, 45.05) |
| CIE-LCH | lch(63.06, 72.19, 141.38°) |
| OKLab | oklab(66.28% -0.1523 0.1055) |
| OKLCH | oklch(66.28% 0.185 145.3) |
| XYZ | xyz(17.4844, 31.6557, 10.3419) |
| Luminance | 0.3166 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Medium Green
#39AD48
ΔE00 1.14
Shamrock
#01B44C
ΔE00 2.40
Kelly Green (survey)
#02AB2E
ΔE00 2.51
Mid Green
#50A747
ΔE00 3.50
Dark Pastel Green
#56AE57
ΔE00 3.85
Green (survey)
#15B01A
ΔE00 3.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2FAF42 #AF2F9C
analogous
#5CAF2F #2FAF42 #2FAF82
triadic
#2FAF42 #422FAF #AF422F
tetradic
#2FAF42 #2F5CAF #AF2F9C #AF822F
square
#2FAF42 #2F5CAF #AF2F9C #AF822F
split-complementary
#2FAF42 #822FAF #AF2F5C
monochromatic
#154F1E #227F30 #2FAF42 #4CCF60 #7CDC8B
Accessibility & contrast
On white
2.86
#2FAF42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.33
#2FAF42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #2FAF42
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2FAF42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2FAF42 | 1.00 | 2.86 | 7.33 | 7.33 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29F36
Deuteranopia (green-blind)
#A3954B
Tritanopia (blue-blind)
#00AB98
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #2faf42; /* rgb */ color: rgb(47, 175, 66); /* oklch */ color: oklch(66.3% 0.185 145.3);
Tailwind
colors: {
custom: {
50: '#7bc87a',
500: '#2faf42',
950: '#000000',
},
}SCSS
$custom: #2faf42; $custom-light: #7bc87a; $custom-dark: #000000;
JSON
{
"hex": "#2faf42",
"rgb": {
"r": 47,
"g": 175,
"b": 66
},
"hsl": {
"h": 128.906,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.66283,
"c": 0.18526,
"h": 145.3
},
"luminance": 0.31658
}Semantic roles & 50–950 ramp
primary
#2FAF42
secondary
#C475B9
accent
#47CAE1
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B