#2AA42D#2AA42D

#2AA42D is a light, vivid green. Relative luminance 0.272; OKLCH L 63.0% C 0.189 H 143.2°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#2AA42D
RGBrgb(42, 164, 45)
HSLhsl(121, 59%, 40%)
HSVhsv(121, 74%, 64%)
CMYKcmyk(74.4%, 0%, 72.6%, 35.7%)
CIE-LABlab(59.19, -55.68, 49.65)
CIE-LCHlch(59.19, 74.60, 138.27°)
OKLaboklab(62.99% -0.151 0.1129)
OKLCHoklch(62.99% 0.189 143.2)
XYZxyz(14.7030, 27.2309, 6.9633)
Luminance0.2723 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AA42D #A42AA1
analogous
#64A42A #2AA42D #2AA46A
triadic
#2AA42D #2D2AA4 #A42D2A
tetradic
#2AA42D #2A64A4 #A42AA1 #A46A2A
square
#2AA42D #2A64A4 #A42AA1 #A46A2A
split-complementary
#2AA42D #6A2AA4 #A42A64
monochromatic
#114312 #1E7320 #2AA42D #3ECD41 #6EDA71

Accessibility & contrast

On white

3.26
#2AA42D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#2AA42D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2AA42D
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AA42D#FFFFFF#000000##000000
##2AA42D1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79419
Deuteranopia (green-blind)
#9A8B39
Tritanopia (blue-blind)
#009F8D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #2aa42d;
/* rgb */ color: rgb(42, 164, 45);
/* oklch */ color: oklch(63.0% 0.189 143.2);
Tailwind
colors: {
  custom: {
    50: '#78c06d',
    500: '#2aa42d',
    950: '#000000',
  },
}
SCSS
$custom: #2aa42d;
$custom-light: #78c06d;
$custom-dark: #000000;
JSON
{
  "hex": "#2aa42d",
  "rgb": {
    "r": 42,
    "g": 164,
    "b": 45
  },
  "hsl": {
    "h": 121.475,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.62987,
    "c": 0.18856,
    "h": 143.2
  },
  "luminance": 0.27233
}

Semantic roles & 50–950 ramp

primary
#2AA42D
secondary
#C169BF
accent
#45DFE2
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2AA42D

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

Preview Lab → · Contrast checker → · Palette generator →

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