#2AAB51#2AAB51

#2AAB51 is a light, vivid green. Relative luminance 0.302; OKLCH L 65.3% C 0.169 H 148.7°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#2AAB51
RGBrgb(42, 171, 81)
HSLhsl(138, 61%, 42%)
HSVhsv(138, 75%, 67%)
CMYKcmyk(75.4%, 0%, 52.6%, 32.9%)
CIE-LABlab(61.84, -53.77, 36.43)
CIE-LCHlch(61.84, 64.95, 145.88°)
OKLaboklab(65.3% -0.1446 0.0879)
OKLCHoklch(65.3% 0.169 148.7)
XYZxyz(17.0016, 30.2102, 12.7181)
Luminance0.3021 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AAB51 #AB2A84
analogous
#43AB2A #2AAB51 #2AAB92
triadic
#2AAB51 #512AAB #AB512A
tetradic
#2AAB51 #2A43AB #AB2A84 #AB922A
square
#2AAB51 #2A43AB #AB2A84 #AB922A
split-complementary
#2AAB51 #922AAB #AB2A43
monochromatic
#124922 #1E7A3A #2AAB51 #42D16D #73DD93

Accessibility & contrast

On white

2.98
#2AAB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#2AAB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AAB51
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AAB51#FFFFFF#000000##000000
##2AAB511.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9C49
Deuteranopia (green-blind)
#9E9158
Tritanopia (blue-blind)
#00A896
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #2aab51;
/* rgb */ color: rgb(42, 171, 81);
/* oklch */ color: oklch(65.3% 0.169 148.7);
Tailwind
colors: {
  custom: {
    50: '#78c584',
    500: '#2aab51',
    950: '#000000',
  },
}
SCSS
$custom: #2aab51;
$custom-light: #78c584;
$custom-dark: #000000;
JSON
{
  "hex": "#2aab51",
  "rgb": {
    "r": 42,
    "g": 171,
    "b": 81
  },
  "hsl": {
    "h": 138.14,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.65298,
    "c": 0.16919,
    "h": 148.7
  },
  "luminance": 0.30212
}

Semantic roles & 50–950 ramp

primary
#2AAB51
secondary
#C46DAA
accent
#44B3E4
background
#F7FCF8
surface
#EEF8EF
border
#C9D1CA
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #2AAB51

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

Preview Lab → · Contrast checker → · Palette generator →

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