#2EA540#2EA540

#2EA540 is a light, vivid green. Relative luminance 0.279; OKLCH L 63.5% C 0.175 H 145.4°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#2EA540
RGBrgb(46, 165, 64)
HSLhsl(129, 56%, 41%)
HSVhsv(129, 72%, 65%)
CMYKcmyk(72.1%, 0%, 61.2%, 35.3%)
CIE-LABlab(59.76, -53.35, 42.20)
CIE-LCHlch(59.76, 68.02, 141.66°)
OKLaboklab(63.54% -0.144 0.0992)
OKLCHoklch(63.54% 0.175 145.4)
XYZxyz(15.5062, 27.8595, 9.4097)
Luminance0.2786 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2EA540 #A52E93
analogous
#58A52E #2EA540 #2EA57C
triadic
#2EA540 #402EA5 #A5402E
tetradic
#2EA540 #2E58A5 #A52E93 #A57C2E
square
#2EA540 #2E58A5 #A52E93 #A57C2E
split-complementary
#2EA540 #7C2EA5 #A52E58
monochromatic
#13451B #21752D #2EA540 #45CB59 #75D884

Accessibility & contrast

On white

3.20
#2EA540 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#2EA540 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2EA540
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2EA540#FFFFFF#000000##000000
##2EA5401.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89635
Deuteranopia (green-blind)
#9A8C48
Tritanopia (blue-blind)
#00A18F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #2ea540;
/* rgb */ color: rgb(46, 165, 64);
/* oklch */ color: oklch(63.5% 0.175 145.4);
Tailwind
colors: {
  custom: {
    50: '#78c178',
    500: '#2ea540',
    950: '#000000',
  },
}
SCSS
$custom: #2ea540;
$custom-light: #78c178;
$custom-dark: #000000;
JSON
{
  "hex": "#2ea540",
  "rgb": {
    "r": 46,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 129.076,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.63539,
    "c": 0.1749,
    "h": 145.4
  },
  "luminance": 0.27861
}

Semantic roles & 50–950 ramp

primary
#2EA540
secondary
#C06FB4
accent
#48C9E0
background
#F7FCF7
surface
#EEF8ED
border
#C9D1C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #2EA540

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

Preview Lab → · Contrast checker → · Palette generator →

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