#2EB540#2EB540

#2EB540 is a light, vivid green. Relative luminance 0.340; OKLCH L 67.8% C 0.194 H 144.9°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#2EB540
RGBrgb(46, 181, 64)
HSLhsl(128, 59%, 45%)
HSVhsv(128, 75%, 71%)
CMYKcmyk(74.6%, 0%, 64.6%, 29%)
CIE-LABlab(64.96, -58.81, 48.07)
CIE-LCHlch(64.96, 75.95, 140.74°)
OKLaboklab(67.85% -0.1588 0.1118)
OKLCHoklch(67.85% 0.194 144.9)
XYZxyz(18.5747, 33.9966, 10.4326)
Luminance0.3400 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2EB540 #B52EA3
analogous
#60B52E #2EB540 #2EB584
triadic
#2EB540 #402EB5 #B5402E
tetradic
#2EB540 #2E60B5 #B52EA3 #B5842E
square
#2EB540 #2E60B5 #B52EA3 #B5842E
split-complementary
#2EB540 #842EB5 #B52E60
monochromatic
#15531D #22842F #2EB540 #4ED260 #7FDE8C

Accessibility & contrast

On white

2.69
#2EB540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#2EB540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2EB540
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2EB540#FFFFFF#000000##000000
##2EB5401.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A432
Deuteranopia (green-blind)
#A9994A
Tritanopia (blue-blind)
#00B09D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #2eb540;
/* rgb */ color: rgb(46, 181, 64);
/* oklch */ color: oklch(67.8% 0.194 144.9);
Tailwind
colors: {
  custom: {
    50: '#7ccc7a',
    500: '#2eb540',
    950: '#000000',
  },
}
SCSS
$custom: #2eb540;
$custom-light: #7ccc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2eb540",
  "rgb": {
    "r": 46,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 128,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67849,
    "c": 0.19422,
    "h": 144.9
  },
  "luminance": 0.33999
}

Semantic roles & 50–950 ramp

primary
#2EB540
secondary
#C778BD
accent
#45CEE3
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B1409
muted
#7C827B

Preview Lab

Preview with #2EB540

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

Preview Lab → · Contrast checker → · Palette generator →

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