#2EA72A#2EA72A

#2EA72A is a light, vivid green. Relative luminance 0.284; OKLCH L 63.9% C 0.193 H 142.5°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#2EA72A
RGBrgb(46, 167, 42)
HSLhsl(118, 60%, 41%)
HSVhsv(118, 75%, 65%)
CMYKcmyk(72.5%, 0%, 74.9%, 34.5%)
CIE-LABlab(60.23, -56.23, 51.86)
CIE-LCHlch(60.23, 76.50, 137.32°)
OKLaboklab(63.87% -0.1529 0.1171)
OKLCHoklch(63.87% 0.193 142.5)
XYZxyz(15.3624, 28.3837, 6.8590)
Luminance0.2838 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2EA72A #A32AA7
analogous
#6CA72A #2EA72A #2AA764
triadic
#2EA72A #2A2EA7 #A72A2E
tetradic
#2EA72A #2A6CA7 #A32AA7 #A7642A
square
#2EA72A #2A6CA7 #A32AA7 #A7642A
split-complementary
#2EA72A #642AA7 #A72A6C
monochromatic
#134511 #21761E #2EA72A #44CF3F #74DB70

Accessibility & contrast

On white

3.15
#2EA72A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#2EA72A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2EA72A
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2EA72A#FFFFFF#000000##000000
##2EA72A1.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9711
Deuteranopia (green-blind)
#9D8E37
Tritanopia (blue-blind)
#02A28F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #2ea72a;
/* rgb */ color: rgb(46, 167, 42);
/* oklch */ color: oklch(63.9% 0.193 142.5);
Tailwind
colors: {
  custom: {
    50: '#7ac26c',
    500: '#2ea72a',
    950: '#000000',
  },
}
SCSS
$custom: #2ea72a;
$custom-light: #7ac26c;
$custom-dark: #000000;
JSON
{
  "hex": "#2ea72a",
  "rgb": {
    "r": 46,
    "g": 167,
    "b": 42
  },
  "hsl": {
    "h": 118.08,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.63872,
    "c": 0.19257,
    "h": 142.5
  },
  "luminance": 0.28385
}

Semantic roles & 50–950 ramp

primary
#2EA72A
secondary
#BF6BC2
accent
#45E3DE
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #2EA72A

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

Preview Lab → · Contrast checker → · Palette generator →

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