#2EB742#2EB742

#2EB742 is a light, vivid green. Relative luminance 0.348; OKLCH L 68.4% C 0.195 H 145.1°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#2EB742
RGBrgb(46, 183, 66)
HSLhsl(129, 60%, 45%)
HSVhsv(129, 75%, 72%)
CMYKcmyk(74.9%, 0%, 63.9%, 28.2%)
CIE-LABlab(65.62, -59.25, 47.94)
CIE-LCHlch(65.62, 76.22, 141.03°)
OKLaboklab(68.41% -0.16 0.1117)
OKLCHoklch(68.41% 0.195 145.1)
XYZxyz(19.0423, 34.8390, 10.8742)
Luminance0.3484 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2EB742 #B72EA3
analogous
#5FB72E #2EB742 #2EB786
triadic
#2EB742 #422EB7 #B7422E
tetradic
#2EB742 #2E5FB7 #B72EA3 #B7862E
square
#2EB742 #2E5FB7 #B72EA3 #B7862E
split-complementary
#2EB742 #862EB7 #B72E5F
monochromatic
#15551F #228630 #2EB742 #4FD363 #80DF8E

Accessibility & contrast

On white

2.64
#2EB742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#2EB742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2EB742
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2EB742#FFFFFF#000000##000000
##2EB7421.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA634
Deuteranopia (green-blind)
#AB9B4C
Tritanopia (blue-blind)
#00B29E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #2eb742;
/* rgb */ color: rgb(46, 183, 66);
/* oklch */ color: oklch(68.4% 0.195 145.1);
Tailwind
colors: {
  custom: {
    50: '#7cce7b',
    500: '#2eb742',
    950: '#000000',
  },
}
SCSS
$custom: #2eb742;
$custom-light: #7cce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2eb742",
  "rgb": {
    "r": 46,
    "g": 183,
    "b": 66
  },
  "hsl": {
    "h": 128.759,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68405,
    "c": 0.19509,
    "h": 145.1
  },
  "luminance": 0.34841
}

Semantic roles & 50–950 ramp

primary
#2EB742
secondary
#C879BC
accent
#45CCE3
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #2EB742

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

Preview Lab → · Contrast checker → · Palette generator →

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