#2EB842#2EB842

#2EB842 is a light, vivid green. Relative luminance 0.353; OKLCH L 68.7% C 0.196 H 145.0°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#2EB842
RGBrgb(46, 184, 66)
HSLhsl(129, 60%, 45%)
HSVhsv(129, 75%, 72%)
CMYKcmyk(75%, 0%, 64.1%, 27.8%)
CIE-LABlab(65.95, -59.59, 48.30)
CIE-LCHlch(65.95, 76.70, 140.97°)
OKLaboklab(68.67% -0.1609 0.1125)
OKLCHoklch(68.67% 0.196 145)
XYZxyz(19.2492, 35.2529, 10.9432)
Luminance0.3525 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2EB842 #B82EA4
analogous
#5FB82E #2EB842 #2EB887
triadic
#2EB842 #422EB8 #B8422E
tetradic
#2EB842 #2E5FB8 #B82EA4 #B8872E
square
#2EB842 #2E5FB8 #B82EA4 #B8872E
split-complementary
#2EB842 #872EB8 #B82E5F
monochromatic
#16561F #228730 #2EB842 #50D363 #81DF8F

Accessibility & contrast

On white

2.61
#2EB842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#2EB842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2EB842
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2EB842#FFFFFF#000000##000000
##2EB8421.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA734
Deuteranopia (green-blind)
#AC9C4C
Tritanopia (blue-blind)
#00B39F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #2eb842;
/* rgb */ color: rgb(46, 184, 66);
/* oklch */ color: oklch(68.7% 0.196 145.0);
Tailwind
colors: {
  custom: {
    50: '#7dcf7b',
    500: '#2eb842',
    950: '#000000',
  },
}
SCSS
$custom: #2eb842;
$custom-light: #7dcf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2eb842",
  "rgb": {
    "r": 46,
    "g": 184,
    "b": 66
  },
  "hsl": {
    "h": 128.696,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68672,
    "c": 0.19627,
    "h": 145
  },
  "luminance": 0.35255
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2EB842

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

Preview Lab → · Contrast checker → · Palette generator →

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