#2AA242#2AA242

#2AA242 is a light, vivid green. Relative luminance 0.267; OKLCH L 62.7% C 0.171 H 146.3°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#2AA242
RGBrgb(42, 162, 66)
HSLhsl(132, 59%, 40%)
HSVhsv(132, 74%, 64%)
CMYKcmyk(74.1%, 0%, 59.3%, 36.5%)
CIE-LABlab(58.72, -52.72, 40.03)
CIE-LCHlch(58.72, 66.20, 142.79°)
OKLaboklab(62.66% -0.1421 0.0947)
OKLCHoklch(62.66% 0.171 146.3)
XYZxyz(14.8575, 26.7246, 9.5285)
Luminance0.2673 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AA242 #A22A8A
analogous
#4EA22A #2AA242 #2AA27E
triadic
#2AA242 #422AA2 #A2422A
tetradic
#2AA242 #2A4EA2 #A22A8A #A27E2A
square
#2AA242 #2A4EA2 #A22A8A #A27E2A
split-complementary
#2AA242 #7E2AA2 #A22A4E
monochromatic
#11411A #1D712E #2AA242 #3DCD59 #6DD983

Accessibility & contrast

On white

3.31
#2AA242 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#2AA242 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2AA242
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AA242#FFFFFF#000000##000000
##2AA2421.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49338
Deuteranopia (green-blind)
#96894A
Tritanopia (blue-blind)
#009E8D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #2aa242;
/* rgb */ color: rgb(42, 162, 66);
/* oklch */ color: oklch(62.7% 0.171 146.3);
Tailwind
colors: {
  custom: {
    50: '#76bf79',
    500: '#2aa242',
    950: '#000000',
  },
}
SCSS
$custom: #2aa242;
$custom-light: #76bf79;
$custom-dark: #000000;
JSON
{
  "hex": "#2aa242",
  "rgb": {
    "r": 42,
    "g": 162,
    "b": 66
  },
  "hsl": {
    "h": 132,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.62659,
    "c": 0.17077,
    "h": 146.3
  },
  "luminance": 0.26726
}

Semantic roles & 50–950 ramp

primary
#2AA242
secondary
#C068AE
accent
#46C3E2
background
#F7FBF7
surface
#EEF7EE
border
#C9D0C9
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #2AA242

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

Preview Lab → · Contrast checker → · Palette generator →

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