#2EA628#2EA628

#2EA628 is a light, vivid green. Relative luminance 0.280; OKLCH L 63.6% C 0.193 H 142.4°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#2EA628
RGBrgb(46, 166, 40)
HSLhsl(117, 61%, 40%)
HSVhsv(117, 76%, 65%)
CMYKcmyk(72.3%, 0%, 75.9%, 34.9%)
CIE-LABlab(59.89, -56.06, 52.23)
CIE-LCHlch(59.89, 76.62, 137.02°)
OKLaboklab(63.59% -0.1525 0.1176)
OKLCHoklch(63.59% 0.193 142.4)
XYZxyz(15.1450, 28.0048, 6.6144)
Luminance0.2801 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2EA628 #A028A6
analogous
#6DA628 #2EA628 #28A661
triadic
#2EA628 #282EA6 #A6282E
tetradic
#2EA628 #286DA6 #A028A6 #A66128
square
#2EA628 #286DA6 #A028A6 #A66128
split-complementary
#2EA628 #6128A6 #A6286D
monochromatic
#134310 #20751C #2EA628 #42D03B #72DC6D

Accessibility & contrast

On white

3.18
#2EA628 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#2EA628 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2EA628
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2EA628#FFFFFF#000000##000000
##2EA6281.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA960D
Deuteranopia (green-blind)
#9C8D36
Tritanopia (blue-blind)
#04A18E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #2ea628;
/* rgb */ color: rgb(46, 166, 40);
/* oklch */ color: oklch(63.6% 0.193 142.4);
Tailwind
colors: {
  custom: {
    50: '#7ac26b',
    500: '#2ea628',
    950: '#000000',
  },
}
SCSS
$custom: #2ea628;
$custom-light: #7ac26b;
$custom-dark: #000000;
JSON
{
  "hex": "#2ea628",
  "rgb": {
    "r": 46,
    "g": 166,
    "b": 40
  },
  "hsl": {
    "h": 117.143,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.63585,
    "c": 0.19257,
    "h": 142.4
  },
  "luminance": 0.28006
}

Semantic roles & 50–950 ramp

primary
#2EA628
secondary
#BE67C2
accent
#44E4DD
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #2EA628

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

Preview Lab → · Contrast checker → · Palette generator →

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