#2AA340#2AA340

#2AA340 is a light, vivid green. Relative luminance 0.271; OKLCH L 62.9% C 0.174 H 145.9°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#2AA340
RGBrgb(42, 163, 64)
HSLhsl(131, 59%, 40%)
HSVhsv(131, 74%, 64%)
CMYKcmyk(74.2%, 0%, 60.7%, 36.1%)
CIE-LABlab(59.03, -53.33, 41.33)
CIE-LCHlch(59.03, 67.47, 142.22°)
OKLaboklab(62.91% -0.1438 0.0974)
OKLCHoklch(62.91% 0.174 145.9)
XYZxyz(14.9764, 27.0551, 9.2824)
Luminance0.2706 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AA340 #A32A8D
analogous
#51A32A #2AA340 #2AA37C
triadic
#2AA340 #402AA3 #A3402A
tetradic
#2AA340 #2A51A3 #A32A8D #A37C2A
square
#2AA340 #2A51A3 #A32A8D #A37C2A
split-complementary
#2AA340 #7C2AA3 #A32A51
monochromatic
#11421A #1D722D #2AA340 #3DCD57 #6EDA81

Accessibility & contrast

On white

3.28
#2AA340 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#2AA340 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2AA340
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AA340#FFFFFF#000000##000000
##2AA3401.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59435
Deuteranopia (green-blind)
#988A48
Tritanopia (blue-blind)
#009F8E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #2aa340;
/* rgb */ color: rgb(42, 163, 64);
/* oklch */ color: oklch(62.9% 0.174 145.9);
Tailwind
colors: {
  custom: {
    50: '#76bf78',
    500: '#2aa340',
    950: '#000000',
  },
}
SCSS
$custom: #2aa340;
$custom-light: #76bf78;
$custom-dark: #000000;
JSON
{
  "hex": "#2aa340",
  "rgb": {
    "r": 42,
    "g": 163,
    "b": 64
  },
  "hsl": {
    "h": 130.909,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.62906,
    "c": 0.17366,
    "h": 145.9
  },
  "luminance": 0.27057
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2AA340

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

Preview Lab → · Contrast checker → · Palette generator →

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