#2AA240#2AA240

#2AA240 is a light, vivid green. Relative luminance 0.267; OKLCH L 62.6% C 0.172 H 145.9°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#2AA240
RGBrgb(42, 162, 64)
HSLhsl(131, 59%, 40%)
HSVhsv(131, 74%, 64%)
CMYKcmyk(74.1%, 0%, 60.5%, 36.5%)
CIE-LABlab(58.70, -52.98, 40.95)
CIE-LCHlch(58.70, 66.96, 142.30°)
OKLaboklab(62.63% -0.1428 0.0966)
OKLCHoklch(62.63% 0.172 145.9)
XYZxyz(14.7995, 26.7014, 9.2234)
Luminance0.2670 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AA240 #A22A8C
analogous
#50A22A #2AA240 #2AA27C
triadic
#2AA240 #402AA2 #A2402A
tetradic
#2AA240 #2A50A2 #A22A8C #A27C2A
square
#2AA240 #2A50A2 #A22A8C #A27C2A
split-complementary
#2AA240 #7C2AA2 #A22A50
monochromatic
#11411A #1D712D #2AA240 #3DCD57 #6DD981

Accessibility & contrast

On white

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

On black

6.34
#2AA240 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2AA240
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AA240#FFFFFF#000000##000000
##2AA2401.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49336
Deuteranopia (green-blind)
#978948
Tritanopia (blue-blind)
#009E8D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #2aa240;
/* rgb */ color: rgb(42, 162, 64);
/* oklch */ color: oklch(62.6% 0.172 145.9);
Tailwind
colors: {
  custom: {
    50: '#76bf78',
    500: '#2aa240',
    950: '#000000',
  },
}
SCSS
$custom: #2aa240;
$custom-light: #76bf78;
$custom-dark: #000000;
JSON
{
  "hex": "#2aa240",
  "rgb": {
    "r": 42,
    "g": 162,
    "b": 64
  },
  "hsl": {
    "h": 131,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.62634,
    "c": 0.17242,
    "h": 145.9
  },
  "luminance": 0.26703
}

Semantic roles & 50–950 ramp

primary
#2AA240
secondary
#C068B0
accent
#46C5E2
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #2AA240

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

Preview Lab → · Contrast checker → · Palette generator →

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