#2FB742#2FB742
#2FB742 is a light, vivid green. Relative luminance 0.349; OKLCH L 68.4% C 0.195 H 145.0°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2FB742 |
|---|---|
| RGB | rgb(47, 183, 66) |
| HSL | hsl(128, 59%, 45%) |
| HSV | hsv(128, 74%, 72%) |
| CMYK | cmyk(74.3%, 0%, 63.9%, 28.2%) |
| CIE-LAB | lab(65.64, -59.10, 47.96) |
| CIE-LCH | lch(65.64, 76.11, 140.94°) |
| OKLab | oklab(68.43% -0.1596 0.1117) |
| OKLCH | oklch(68.43% 0.195 145) |
| XYZ | xyz(19.0878, 34.8625, 10.8764) |
| Luminance | 0.3487 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock
#01B44C
ΔE00 2.67
Leafy Green
#51B73B
ΔE00 3.02
Shamrock Green
#02C14D
ΔE00 3.06
Medium Green
#39AD48
ΔE00 3.18
Green (survey)
#15B01A
ΔE00 3.88
Kelly Green (survey)
#02AB2E
ΔE00 3.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2FB742 #B72FA4
analogous
#60B72F #2FB742 #2FB786
triadic
#2FB742 #422FB7 #B7422F
tetradic
#2FB742 #2F60B7 #B72FA4 #B7862F
square
#2FB742 #2F60B7 #B72FA4 #B7862F
split-complementary
#2FB742 #862FB7 #B72F60
monochromatic
#16561F #228630 #2FB742 #51D263 #82DF8F
Accessibility & contrast
On white
2.63
#2FB742 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.97
#2FB742 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #2FB742
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2FB742 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2FB742 | 1.00 | 2.63 | 7.97 | 7.97 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA634
Deuteranopia (green-blind)
#AB9B4C
Tritanopia (blue-blind)
#00B29E
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #2fb742; /* rgb */ color: rgb(47, 183, 66); /* oklch */ color: oklch(68.4% 0.195 145.0);
Tailwind
colors: {
custom: {
50: '#7dce7b',
500: '#2fb742',
950: '#000000',
},
}SCSS
$custom: #2fb742; $custom-light: #7dce7b; $custom-dark: #000000;
JSON
{
"hex": "#2fb742",
"rgb": {
"r": 47,
"g": 183,
"b": 66
},
"hsl": {
"h": 128.382,
"s": 59.13,
"l": 45.098
},
"oklch": {
"l": 0.68426,
"c": 0.19481,
"h": 145
},
"luminance": 0.34865
}Semantic roles & 50–950 ramp
primary
#2FB742
secondary
#C87ABD
accent
#45CCE2
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B140A
muted
#7C827C