#2AB52F#2AB52F

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

Color values

HEX#2AB52F
RGBrgb(42, 181, 47)
HSLhsl(122, 62%, 44%)
HSVhsv(122, 77%, 71%)
CMYKcmyk(76.8%, 0%, 74%, 29%)
CIE-LABlab(64.76, -61.01, 54.59)
CIE-LCHlch(64.76, 81.87, 138.18°)
OKLaboklab(67.62% -0.1654 0.1235)
OKLCHoklch(67.62% 0.206 143.2)
XYZxyz(17.9907, 33.7431, 8.2537)
Luminance0.3375 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB52F #B52AB0
analogous
#6AB52A #2AB52F #2AB574
triadic
#2AB52F #2F2AB5 #B52F2A
tetradic
#2AB52F #2A6AB5 #B52AB0 #B5742A
square
#2AB52F #2A6AB5 #B52AB0 #B5742A
split-complementary
#2AB52F #742AB5 #B52A6A
monochromatic
#135215 #1E8322 #2AB52F #48D44D #79E07D

Accessibility & contrast

On white

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

On black

7.75
#2AB52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB52F
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB52F#FFFFFF#000000##000000
##2AB52F1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2ab52f;
/* rgb */ color: rgb(42, 181, 47);
/* oklch */ color: oklch(67.6% 0.206 143.2);
Tailwind
colors: {
  custom: {
    50: '#7ccc70',
    500: '#2ab52f',
    950: '#000000',
  },
}
SCSS
$custom: #2ab52f;
$custom-light: #7ccc70;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab52f",
  "rgb": {
    "r": 42,
    "g": 181,
    "b": 47
  },
  "hsl": {
    "h": 122.158,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.67619,
    "c": 0.20642,
    "h": 143.2
  },
  "luminance": 0.33745
}

Semantic roles & 50–950 ramp

primary
#2AB52F
secondary
#C873C5
accent
#42E0E5
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1408
muted
#7C827B

Preview Lab

Preview with #2AB52F

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

Preview Lab → · Contrast checker → · Palette generator →

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