#2AB52C#2AB52C

#2AB52C is a light, highly saturated green. Relative luminance 0.337; OKLCH L 67.6% C 0.208 H 143.0°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#2AB52C
RGBrgb(42, 181, 44)
HSLhsl(121, 62%, 44%)
HSVhsv(121, 77%, 71%)
CMYKcmyk(76.8%, 0%, 75.7%, 29%)
CIE-LABlab(64.74, -61.24, 55.63)
CIE-LCHlch(64.74, 82.74, 137.75°)
OKLaboklab(67.6% -0.1661 0.1253)
OKLCHoklch(67.6% 0.208 143)
XYZxyz(17.9322, 33.7197, 7.9459)
Luminance0.3372 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB52C #B52AB3
analogous
#6DB52A #2AB52C #2AB571
triadic
#2AB52C #2C2AB5 #B52C2A
tetradic
#2AB52C #2A6DB5 #B52AB3 #B5712A
square
#2AB52C #2A6DB5 #B52AB3 #B5712A
split-complementary
#2AB52C #712AB5 #B52A6D
monochromatic
#135214 #1E8320 #2AB52C #48D44A #79E07B

Accessibility & contrast

On white

2.71
#2AB52C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#2AB52C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB52C
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB52C#FFFFFF#000000##000000
##2AB52C1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A30D
Deuteranopia (green-blind)
#AA993B
Tritanopia (blue-blind)
#00B09B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #2ab52c;
/* rgb */ color: rgb(42, 181, 44);
/* oklch */ color: oklch(67.6% 0.208 143.0);
Tailwind
colors: {
  custom: {
    50: '#7ccc6f',
    500: '#2ab52c',
    950: '#000000',
  },
}
SCSS
$custom: #2ab52c;
$custom-light: #7ccc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab52c",
  "rgb": {
    "r": 42,
    "g": 181,
    "b": 44
  },
  "hsl": {
    "h": 120.863,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.67598,
    "c": 0.20808,
    "h": 143
  },
  "luminance": 0.33722
}

Semantic roles & 50–950 ramp

primary
#2AB52C
secondary
#C873C7
accent
#42E3E5
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1408
muted
#7C827B

Preview Lab

Preview with #2AB52C

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

Preview Lab → · Contrast checker → · Palette generator →

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