#2EA840#2EA840

#2EA840 is a light, vivid green. Relative luminance 0.290; OKLCH L 64.4% C 0.179 H 145.3°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#2EA840
RGBrgb(46, 168, 64)
HSLhsl(129, 57%, 42%)
HSVhsv(129, 73%, 66%)
CMYKcmyk(72.6%, 0%, 61.9%, 34.1%)
CIE-LABlab(60.74, -54.40, 43.32)
CIE-LCHlch(60.74, 69.54, 141.47°)
OKLaboklab(64.35% -0.1469 0.1016)
OKLCHoklch(64.35% 0.179 145.3)
XYZxyz(16.0537, 28.9545, 9.5922)
Luminance0.2896 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2EA840 #A82E96
analogous
#59A82E #2EA840 #2EA87D
triadic
#2EA840 #402EA8 #A8402E
tetradic
#2EA840 #2E59A8 #A82E96 #A87D2E
square
#2EA840 #2E59A8 #A82E96 #A87D2E
split-complementary
#2EA840 #7D2EA8 #A82E59
monochromatic
#14481B #21782E #2EA840 #47CD5A #77DA85

Accessibility & contrast

On white

3.09
#2EA840 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#2EA840 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2EA840
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2EA840#FFFFFF#000000##000000
##2EA8401.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9835
Deuteranopia (green-blind)
#9D8F49
Tritanopia (blue-blind)
#00A492
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #2ea840;
/* rgb */ color: rgb(46, 168, 64);
/* oklch */ color: oklch(64.4% 0.179 145.3);
Tailwind
colors: {
  custom: {
    50: '#79c379',
    500: '#2ea840',
    950: '#000000',
  },
}
SCSS
$custom: #2ea840;
$custom-light: #79c379;
$custom-dark: #000000;
JSON
{
  "hex": "#2ea840",
  "rgb": {
    "r": 46,
    "g": 168,
    "b": 64
  },
  "hsl": {
    "h": 128.852,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64351,
    "c": 0.1786,
    "h": 145.3
  },
  "luminance": 0.28956
}

Semantic roles & 50–950 ramp

primary
#2EA840
secondary
#C270B6
accent
#48CAE0
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0A1309
muted
#7C827B

Preview Lab

Preview with #2EA840

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

Preview Lab → · Contrast checker → · Palette generator →

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