#2EAF42#2EAF42
#2EAF42 is a light, vivid green. Relative luminance 0.316; OKLCH L 66.3% C 0.186 H 145.4°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2EAF42 |
|---|---|
| RGB | rgb(46, 175, 66) |
| HSL | hsl(129, 58%, 43%) |
| HSV | hsv(129, 74%, 69%) |
| CMYK | cmyk(73.7%, 0%, 62.3%, 31.4%) |
| CIE-LAB | lab(63.04, -56.56, 45.03) |
| CIE-LCH | lch(63.04, 72.30, 141.48°) |
| OKLab | oklab(66.26% -0.1527 0.1055) |
| OKLCH | oklch(66.26% 0.186 145.4) |
| XYZ | xyz(17.4388, 31.6321, 10.3398) |
| Luminance | 0.3163 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Medium Green
#39AD48
ΔE00 1.15
Shamrock
#01B44C
ΔE00 2.36
Kelly Green (survey)
#02AB2E
ΔE00 2.49
Mid Green
#50A747
ΔE00 3.53
Dark Pastel Green
#56AE57
ΔE00 3.88
Green (survey)
#15B01A
ΔE00 3.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2EAF42 #AF2E9B
analogous
#5BAF2E #2EAF42 #2EAF82
triadic
#2EAF42 #422EAF #AF422E
tetradic
#2EAF42 #2E5BAF #AF2E9B #AF822E
square
#2EAF42 #2E5BAF #AF2E9B #AF822E
split-complementary
#2EAF42 #822EAF #AF2E5B
monochromatic
#154E1D #217F30 #2EAF42 #4BD05F #7BDC8A
Accessibility & contrast
On white
2.87
#2EAF42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.33
#2EAF42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #2EAF42
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2EAF42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2EAF42 | 1.00 | 2.87 | 7.33 | 7.33 |
| #FFFFFF | 2.87 | 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: #2eaf42; /* rgb */ color: rgb(46, 175, 66); /* oklch */ color: oklch(66.3% 0.186 145.4);
Tailwind
colors: {
custom: {
50: '#7bc87a',
500: '#2eaf42',
950: '#000000',
},
}SCSS
$custom: #2eaf42; $custom-light: #7bc87a; $custom-dark: #000000;
JSON
{
"hex": "#2eaf42",
"rgb": {
"r": 46,
"g": 175,
"b": 66
},
"hsl": {
"h": 129.302,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.66261,
"c": 0.18556,
"h": 145.4
},
"luminance": 0.31634
}Semantic roles & 50–950 ramp
primary
#2EAF42
secondary
#C574B8
accent
#46C9E2
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B