#2EB542#2EB542

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

Color values

HEX#2EB542
RGBrgb(46, 181, 66)
HSLhsl(129, 59%, 45%)
HSVhsv(129, 75%, 71%)
CMYKcmyk(74.6%, 0%, 63.5%, 29%)
CIE-LABlab(64.98, -58.59, 47.22)
CIE-LCHlch(64.98, 75.24, 141.13°)
OKLaboklab(67.87% -0.1582 0.1102)
OKLCHoklch(67.87% 0.193 145.1)
XYZxyz(18.6327, 34.0198, 10.7377)
Luminance0.3402 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2EB542 #B52EA1
analogous
#5EB52E #2EB542 #2EB586
triadic
#2EB542 #422EB5 #B5422E
tetradic
#2EB542 #2E5EB5 #B52EA1 #B5862E
square
#2EB542 #2E5EB5 #B52EA1 #B5862E
split-complementary
#2EB542 #862EB5 #B52E5E
monochromatic
#15531E #228430 #2EB542 #4ED262 #7FDE8D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2EB542#FFFFFF#000000##000000
##2EB5421.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)
#B8A435
Deuteranopia (green-blind)
#A99A4C
Tritanopia (blue-blind)
#00B09D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #2eb542;
/* rgb */ color: rgb(46, 181, 66);
/* oklch */ color: oklch(67.9% 0.193 145.1);
Tailwind
colors: {
  custom: {
    50: '#7ccc7b',
    500: '#2eb542',
    950: '#000000',
  },
}
SCSS
$custom: #2eb542;
$custom-light: #7ccc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2eb542",
  "rgb": {
    "r": 46,
    "g": 181,
    "b": 66
  },
  "hsl": {
    "h": 128.889,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.6787,
    "c": 0.19273,
    "h": 145.1
  },
  "luminance": 0.34022
}

Semantic roles & 50–950 ramp

primary
#2EB542
secondary
#C778BB
accent
#45CBE3
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #2EB542

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

Preview Lab → · Contrast checker → · Palette generator →

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