#2EAF40#2EAF40

#2EAF40 is a light, vivid green. Relative luminance 0.316; OKLCH L 66.2% C 0.187 H 145.1°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#2EAF40
RGBrgb(46, 175, 64)
HSLhsl(128, 58%, 43%)
HSVhsv(128, 74%, 69%)
CMYKcmyk(73.7%, 0%, 63.4%, 31.4%)
CIE-LABlab(63.02, -56.80, 45.90)
CIE-LCHlch(63.02, 73.02, 141.06°)
OKLaboklab(66.24% -0.1534 0.1072)
OKLCHoklch(66.24% 0.187 145.1)
XYZxyz(17.3809, 31.6090, 10.0346)
Luminance0.3161 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2EAF40 #AF2E9D
analogous
#5CAF2E #2EAF40 #2EAF80
triadic
#2EAF40 #402EAF #AF402E
tetradic
#2EAF40 #2E5CAF #AF2E9D #AF802E
square
#2EAF40 #2E5CAF #AF2E9D #AF802E
split-complementary
#2EAF40 #802EAF #AF2E5C
monochromatic
#154E1D #217F2E #2EAF40 #4BD05D #7BDC89

Accessibility & contrast

On white

2.87
#2EAF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#2EAF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2EAF40
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2EAF40#FFFFFF#000000##000000
##2EAF401.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F33
Deuteranopia (green-blind)
#A3954A
Tritanopia (blue-blind)
#00AA98
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #2eaf40;
/* rgb */ color: rgb(46, 175, 64);
/* oklch */ color: oklch(66.2% 0.187 145.1);
Tailwind
colors: {
  custom: {
    50: '#7bc879',
    500: '#2eaf40',
    950: '#000000',
  },
}
SCSS
$custom: #2eaf40;
$custom-light: #7bc879;
$custom-dark: #000000;
JSON
{
  "hex": "#2eaf40",
  "rgb": {
    "r": 46,
    "g": 175,
    "b": 64
  },
  "hsl": {
    "h": 128.372,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.66239,
    "c": 0.18709,
    "h": 145.1
  },
  "luminance": 0.31611
}

Semantic roles & 50–950 ramp

primary
#2EAF40
secondary
#C574B9
accent
#46CCE2
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #2EAF40

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2EAF40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva