#2EA42C#2EA42C

#2EA42C is a light, vivid green. Relative luminance 0.273; OKLCH L 63.1% C 0.188 H 142.7°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#2EA42C
RGBrgb(46, 164, 44)
HSLhsl(119, 58%, 41%)
HSVhsv(119, 73%, 64%)
CMYKcmyk(72%, 0%, 73.2%, 35.7%)
CIE-LABlab(59.26, -55.07, 50.14)
CIE-LCHlch(59.26, 74.48, 137.69°)
OKLaboklab(63.07% -0.1496 0.1138)
OKLCHoklch(63.07% 0.188 142.7)
XYZxyz(14.8559, 27.3120, 6.8712)
Luminance0.2731 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2EA42C #A22CA4
analogous
#6AA42C #2EA42C #2CA466
triadic
#2EA42C #2C2EA4 #A42C2E
tetradic
#2EA42C #2C6AA4 #A22CA4 #A4662C
square
#2EA42C #2C6AA4 #A22CA4 #A4662C
split-complementary
#2EA42C #662CA4 #A42C6A
monochromatic
#134312 #20741F #2EA42C #43CC41 #73D971

Accessibility & contrast

On white

3.25
#2EA42C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#2EA42C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2EA42C
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2EA42C#FFFFFF#000000##000000
##2EA42C1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89417
Deuteranopia (green-blind)
#9A8B38
Tritanopia (blue-blind)
#049F8D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #2ea42c;
/* rgb */ color: rgb(46, 164, 44);
/* oklch */ color: oklch(63.1% 0.188 142.7);
Tailwind
colors: {
  custom: {
    50: '#79c06d',
    500: '#2ea42c',
    950: '#000000',
  },
}
SCSS
$custom: #2ea42c;
$custom-light: #79c06d;
$custom-dark: #000000;
JSON
{
  "hex": "#2ea42c",
  "rgb": {
    "r": 46,
    "g": 164,
    "b": 44
  },
  "hsl": {
    "h": 119,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.6307,
    "c": 0.18796,
    "h": 142.7
  },
  "luminance": 0.27314
}

Semantic roles & 50–950 ramp

primary
#2EA42C
secondary
#BF6BC0
accent
#47E1DE
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2EA42C

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

Preview Lab → · Contrast checker → · Palette generator →

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