#2FAF56#2FAF56
#2FAF56 is a light, vivid green. Relative luminance 0.319; OKLCH L 66.5% C 0.168 H 149.1°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2FAF56 |
|---|---|
| RGB | rgb(47, 175, 86) |
| HSL | hsl(138, 58%, 44%) |
| HSV | hsv(138, 73%, 69%) |
| CMYK | cmyk(73.1%, 0%, 50.9%, 31.4%) |
| CIE-LAB | lab(63.29, -53.67, 35.74) |
| CIE-LCH | lch(63.29, 64.48, 146.34°) |
| OKLab | oklab(66.55% -0.1444 0.0866) |
| OKLCH | oklch(66.55% 0.168 149.1) |
| XYZ | xyz(18.1805, 31.9341, 14.0080) |
| Luminance | 0.3194 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Medium Green
#39AD48
ΔE00 2.43
Shamrock
#01B44C
ΔE00 2.46
Cool Green
#33B864
ΔE00 2.90
Dark Pastel Green
#56AE57
ΔE00 3.32
Jade Green
#2BAF6A
ΔE00 3.82
Seaweed Green
#35AD6B
ΔE00 4.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2FAF56 #AF2F88
analogous
#48AF2F #2FAF56 #2FAF96
triadic
#2FAF56 #562FAF #AF562F
tetradic
#2FAF56 #2F48AF #AF2F88 #AF962F
square
#2FAF56 #2F48AF #AF2F88 #AF962F
split-complementary
#2FAF56 #962FAF #AF2F48
monochromatic
#154F27 #227F3E #2FAF56 #4CCF74 #7CDC9A
Accessibility & contrast
On white
2.84
#2FAF56 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.39
#2FAF56 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #2FAF56
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2FAF56 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2FAF56 | 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)
#B0A04E
Deuteranopia (green-blind)
#A1955C
Tritanopia (blue-blind)
#00AC9A
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #2faf56; /* rgb */ color: rgb(47, 175, 86); /* oklch */ color: oklch(66.5% 0.168 149.1);
Tailwind
colors: {
custom: {
50: '#7ac887',
500: '#2faf56',
950: '#000000',
},
}SCSS
$custom: #2faf56; $custom-light: #7ac887; $custom-dark: #000000;
JSON
{
"hex": "#2faf56",
"rgb": {
"r": 47,
"g": 175,
"b": 86
},
"hsl": {
"h": 138.281,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.66549,
"c": 0.16835,
"h": 149.1
},
"luminance": 0.31936
}Semantic roles & 50–950 ramp
primary
#2FAF56
secondary
#C475AC
accent
#47B2E1
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130B
muted
#7C827C