#2AAB40#2AAB40

#2AAB40 is a light, vivid green. Relative luminance 0.300; OKLCH L 65.1% C 0.183 H 145.5°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#2AAB40
RGBrgb(42, 171, 64)
HSLhsl(130, 61%, 42%)
HSVhsv(130, 75%, 67%)
CMYKcmyk(75.4%, 0%, 62.6%, 32.9%)
CIE-LABlab(61.64, -56.07, 44.33)
CIE-LCHlch(61.64, 71.47, 141.67°)
OKLaboklab(65.08% -0.1512 0.1038)
OKLCHoklch(65.08% 0.183 145.5)
XYZxyz(16.4420, 29.9863, 9.7709)
Luminance0.2999 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AAB40 #AB2A95
analogous
#54AB2A #2AAB40 #2AAB81
triadic
#2AAB40 #402AAB #AB402A
tetradic
#2AAB40 #2A54AB #AB2A95 #AB812A
square
#2AAB40 #2A54AB #AB2A95 #AB812A
split-complementary
#2AAB40 #812AAB #AB2A54
monochromatic
#12491B #1E7A2E #2AAB40 #42D15A #73DD85

Accessibility & contrast

On white

3.00
#2AAB40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#2AAB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AAB40
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AAB40#FFFFFF#000000##000000
##2AAB401.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B34
Deuteranopia (green-blind)
#9F9149
Tritanopia (blue-blind)
#00A794
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #2aab40;
/* rgb */ color: rgb(42, 171, 64);
/* oklch */ color: oklch(65.1% 0.183 145.5);
Tailwind
colors: {
  custom: {
    50: '#78c579',
    500: '#2aab40',
    950: '#000000',
  },
}
SCSS
$custom: #2aab40;
$custom-light: #78c579;
$custom-dark: #000000;
JSON
{
  "hex": "#2aab40",
  "rgb": {
    "r": 42,
    "g": 171,
    "b": 64
  },
  "hsl": {
    "h": 130.233,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.65076,
    "c": 0.18343,
    "h": 145.5
  },
  "luminance": 0.29988
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2AAB40

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

Preview Lab → · Contrast checker → · Palette generator →

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