#2EC540#2EC540

#2EC540 is a light, highly saturated green. Relative luminance 0.409; OKLCH L 72.1% C 0.213 H 144.4°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#2EC540
RGBrgb(46, 197, 64)
HSLhsl(127, 62%, 48%)
HSVhsv(127, 77%, 77%)
CMYKcmyk(76.6%, 0%, 67.5%, 22.7%)
CIE-LABlab(70.09, -64.01, 53.68)
CIE-LCHlch(70.09, 83.54, 140.02°)
OKLaboklab(72.11% -0.173 0.1236)
OKLCHoklch(72.11% 0.213 144.4)
XYZxyz(22.0169, 40.8809, 11.5800)
Luminance0.4088 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2EC540 #C52EB3
analogous
#68C52E #2EC540 #2EC58B
triadic
#2EC540 #402EC5 #C5402E
tetradic
#2EC540 #2E68C5 #C52EB3 #C58B2E
square
#2EC540 #2E68C5 #C52EB3 #C58B2E
split-complementary
#2EC540 #8B2EC5 #C52E68
monochromatic
#176220 #229330 #2EC540 #58D867 #8AE494

Accessibility & contrast

On white

2.29
#2EC540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#2EC540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2EC540
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2EC540#FFFFFF#000000##000000
##2EC5401.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B22E
Deuteranopia (green-blind)
#B8A74D
Tritanopia (blue-blind)
#00C0AA
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #2ec540;
/* rgb */ color: rgb(46, 197, 64);
/* oklch */ color: oklch(72.1% 0.213 144.4);
Tailwind
colors: {
  custom: {
    50: '#80d87b',
    500: '#2ec540',
    950: '#000000',
  },
}
SCSS
$custom: #2ec540;
$custom-light: #80d87b;
$custom-dark: #000000;
JSON
{
  "hex": "#2ec540",
  "rgb": {
    "r": 46,
    "g": 197,
    "b": 64
  },
  "hsl": {
    "h": 127.152,
    "s": 62.14,
    "l": 47.647
  },
  "oklch": {
    "l": 0.7211,
    "c": 0.21261,
    "h": 144.4
  },
  "luminance": 0.40884
}

Semantic roles & 50–950 ramp

primary
#2EC540
secondary
#CE81C4
accent
#43D2E5
background
#F8FDF7
surface
#F0FBEE
border
#CBD4C9
text
#0C150A
muted
#7D837C

Preview Lab

Preview with #2EC540

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

Preview Lab → · Contrast checker → · Palette generator →

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