#2EA227#2EA227

#2EA227 is a light, vivid green. Relative luminance 0.266; OKLCH L 62.5% C 0.189 H 142.2°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#2EA227
RGBrgb(46, 162, 39)
HSLhsl(117, 61%, 39%)
HSVhsv(117, 76%, 64%)
CMYKcmyk(71.6%, 0%, 75.9%, 36.5%)
CIE-LABlab(58.57, -54.80, 51.27)
CIE-LCHlch(58.57, 75.04, 136.91°)
OKLaboklab(62.49% -0.1491 0.1155)
OKLCHoklch(62.49% 0.189 142.2)
XYZxyz(14.4124, 26.5664, 6.2873)
Luminance0.2657 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2EA227 #9B27A2
analogous
#6CA227 #2EA227 #27A25D
triadic
#2EA227 #272EA2 #A2272E
tetradic
#2EA227 #276CA2 #9B27A2 #A25D27
square
#2EA227 #276CA2 #9B27A2 #A25D27
split-complementary
#2EA227 #5D27A2 #A2276C
monochromatic
#123F0F #20711B #2EA227 #40CF37 #6FDB69

Accessibility & contrast

On white

3.33
#2EA227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#2EA227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2EA227
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2EA227#FFFFFF#000000##000000
##2EA2271.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6920D
Deuteranopia (green-blind)
#998934
Tritanopia (blue-blind)
#0A9D8A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #2ea227;
/* rgb */ color: rgb(46, 162, 39);
/* oklch */ color: oklch(62.5% 0.189 142.2);
Tailwind
colors: {
  custom: {
    50: '#79bf6a',
    500: '#2ea227',
    950: '#000000',
  },
}
SCSS
$custom: #2ea227;
$custom-light: #79bf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2ea227",
  "rgb": {
    "r": 46,
    "g": 162,
    "b": 39
  },
  "hsl": {
    "h": 116.585,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.62486,
    "c": 0.1886,
    "h": 142.2
  },
  "luminance": 0.26568
}

Semantic roles & 50–950 ramp

primary
#2EA227
secondary
#BC64C1
accent
#43E4DB
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2EA227

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

Preview Lab → · Contrast checker → · Palette generator →

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