#2EC528#2EC528

#2EC528 is a light, highly saturated green. Relative luminance 0.407; OKLCH L 71.9% C 0.226 H 142.4°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#2EC528
RGBrgb(46, 197, 40)
HSLhsl(118, 66%, 46%)
HSVhsv(118, 80%, 77%)
CMYKcmyk(76.6%, 0%, 79.7%, 22.7%)
CIE-LABlab(69.94, -65.90, 61.95)
CIE-LCHlch(69.94, 90.45, 136.77°)
OKLaboklab(71.93% -0.1791 0.1379)
OKLCHoklch(71.93% 0.226 142.4)
XYZxyz(21.4747, 40.6640, 8.7242)
Luminance0.4067 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2EC528 #BF28C5
analogous
#7DC528 #2EC528 #28C571
triadic
#2EC528 #282EC5 #C5282E
tetradic
#2EC528 #287DC5 #BF28C5 #C57128
square
#2EC528 #287DC5 #BF28C5 #C57128
split-complementary
#2EC528 #7128C5 #C5287D
monochromatic
#165F13 #22921E #2EC528 #54DB4F #86E682

Accessibility & contrast

On white

2.30
#2EC528 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#2EC528 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2EC528
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2EC528#FFFFFF#000000##000000
##2EC5281.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB200
Deuteranopia (green-blind)
#B9A73B
Tritanopia (blue-blind)
#00BFA8
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #2ec528;
/* rgb */ color: rgb(46, 197, 40);
/* oklch */ color: oklch(71.9% 0.226 142.4);
Tailwind
colors: {
  custom: {
    50: '#81d86f',
    500: '#2ec528',
    950: '#000000',
  },
}
SCSS
$custom: #2ec528;
$custom-light: #81d86f;
$custom-dark: #000000;
JSON
{
  "hex": "#2ec528",
  "rgb": {
    "r": 46,
    "g": 197,
    "b": 40
  },
  "hsl": {
    "h": 117.707,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71934,
    "c": 0.22605,
    "h": 142.4
  },
  "luminance": 0.40667
}

Semantic roles & 50–950 ramp

primary
#2EC528
secondary
#CB7ACE
accent
#3FE9E3
background
#F8FDF7
surface
#F0FBED
border
#CBD4C8
text
#0C1508
muted
#7D837B

Preview Lab

Preview with #2EC528

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

Preview Lab → · Contrast checker → · Palette generator →

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