#2AAA40#2AAA40

#2AAA40 is a light, vivid green. Relative luminance 0.296; OKLCH L 64.8% C 0.182 H 145.6°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#2AAA40
RGBrgb(42, 170, 64)
HSLhsl(130, 60%, 42%)
HSVhsv(130, 75%, 67%)
CMYKcmyk(75.3%, 0%, 62.4%, 33.3%)
CIE-LABlab(61.32, -55.73, 43.95)
CIE-LCHlch(61.32, 70.98, 141.74°)
OKLaboklab(64.81% -0.1503 0.103)
OKLCHoklch(64.81% 0.182 145.6)
XYZxyz(16.2538, 29.6100, 9.7082)
Luminance0.2961 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AAA40 #AA2A94
analogous
#54AA2A #2AAA40 #2AAA80
triadic
#2AAA40 #402AAA #AA402A
tetradic
#2AAA40 #2A54AA #AA2A94 #AA802A
square
#2AAA40 #2A54AA #AA2A94 #AA802A
split-complementary
#2AAA40 #802AAA #AA2A54
monochromatic
#12481B #1E792E #2AAA40 #41D05A #72DC84

Accessibility & contrast

On white

3.03
#2AAA40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#2AAA40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2AAA40
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AAA40#FFFFFF#000000##000000
##2AAA401.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A34
Deuteranopia (green-blind)
#9E9049
Tritanopia (blue-blind)
#00A693
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #2aaa40;
/* rgb */ color: rgb(42, 170, 64);
/* oklch */ color: oklch(64.8% 0.182 145.6);
Tailwind
colors: {
  custom: {
    50: '#78c479',
    500: '#2aaa40',
    950: '#000000',
  },
}
SCSS
$custom: #2aaa40;
$custom-light: #78c479;
$custom-dark: #000000;
JSON
{
  "hex": "#2aaa40",
  "rgb": {
    "r": 42,
    "g": 170,
    "b": 64
  },
  "hsl": {
    "h": 130.313,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.64805,
    "c": 0.18222,
    "h": 145.6
  },
  "luminance": 0.29612
}

Semantic roles & 50–950 ramp

primary
#2AAA40
secondary
#C36CB4
accent
#44C8E4
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0A1309
muted
#7C827B

Preview Lab

Preview with #2AAA40

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

Preview Lab → · Contrast checker → · Palette generator →

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