#2AA42A#2AA42A

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

Color values

HEX#2AA42A
RGBrgb(42, 164, 42)
HSLhsl(120, 59%, 40%)
HSVhsv(120, 74%, 64%)
CMYKcmyk(74.4%, 0%, 74.4%, 35.7%)
CIE-LABlab(59.17, -55.93, 50.76)
CIE-LCHlch(59.17, 75.53, 137.78°)
OKLaboklab(62.96% -0.1518 0.1148)
OKLCHoklch(62.96% 0.19 142.9)
XYZxyz(14.6473, 27.2087, 6.6699)
Luminance0.2721 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AA42A #A42AA4
analogous
#67A42A #2AA42A #2AA467
triadic
#2AA42A #2A2AA4 #A42A2A
tetradic
#2AA42A #2A67A4 #A42AA4 #A4672A
square
#2AA42A #2A67A4 #A42AA4 #A4672A
split-complementary
#2AA42A #672AA4 #A42A67
monochromatic
#114311 #1E731E #2AA42A #3ECD3E #6EDA6E

Accessibility & contrast

On white

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

On black

6.44
#2AA42A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2AA42A
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AA42A#FFFFFF#000000##000000
##2AA42A1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89413
Deuteranopia (green-blind)
#9A8B37
Tritanopia (blue-blind)
#009F8C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #2aa42a;
/* rgb */ color: rgb(42, 164, 42);
/* oklch */ color: oklch(63.0% 0.190 142.9);
Tailwind
colors: {
  custom: {
    50: '#78c06c',
    500: '#2aa42a',
    950: '#000000',
  },
}
SCSS
$custom: #2aa42a;
$custom-light: #78c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#2aa42a",
  "rgb": {
    "r": 42,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 120,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.62963,
    "c": 0.19037,
    "h": 142.9
  },
  "luminance": 0.2721
}

Semantic roles & 50–950 ramp

primary
#2AA42A
secondary
#C169C1
accent
#45E2E2
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2AA42A

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

Preview Lab → · Contrast checker → · Palette generator →

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