#2EA02C#2EA02C

#2EA02C is a mid, vivid green. Relative luminance 0.259; OKLCH L 62.0% C 0.183 H 142.8°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#2EA02C
RGBrgb(46, 160, 44)
HSLhsl(119, 57%, 40%)
HSVhsv(119, 73%, 63%)
CMYKcmyk(71.2%, 0%, 72.5%, 37.3%)
CIE-LABlab(57.94, -53.72, 48.78)
CIE-LCHlch(57.94, 72.57, 137.76°)
OKLaboklab(61.98% -0.1459 0.111)
OKLCHoklch(61.98% 0.183 142.8)
XYZxyz(14.1513, 25.9028, 6.6363)
Luminance0.2590 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2EA02C #9E2CA0
analogous
#68A02C #2EA02C #2CA064
triadic
#2EA02C #2C2EA0 #A02C2E
tetradic
#2EA02C #2C68A0 #9E2CA0 #A0642C
square
#2EA02C #2C68A0 #9E2CA0 #A0642C
split-complementary
#2EA02C #642CA0 #A02C68
monochromatic
#124012 #20701F #2EA02C #41CA3F #71D76F

Accessibility & contrast

On white

3.40
#2EA02C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#2EA02C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2EA02C
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2EA02C#FFFFFF#000000##000000
##2EA02C1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49119
Deuteranopia (green-blind)
#968838
Tritanopia (blue-blind)
#099B89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #2ea02c;
/* rgb */ color: rgb(46, 160, 44);
/* oklch */ color: oklch(62.0% 0.183 142.8);
Tailwind
colors: {
  custom: {
    50: '#78bd6c',
    500: '#2ea02c',
    950: '#000000',
  },
}
SCSS
$custom: #2ea02c;
$custom-light: #78bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2ea02c",
  "rgb": {
    "r": 46,
    "g": 160,
    "b": 44
  },
  "hsl": {
    "h": 118.966,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.61977,
    "c": 0.18334,
    "h": 142.8
  },
  "luminance": 0.25904
}

Semantic roles & 50–950 ramp

primary
#2EA02C
secondary
#BD69BF
accent
#48E0DE
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2EA02C

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

Preview Lab → · Contrast checker → · Palette generator →

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