#2AB52A#2AB52A

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

Color values

HEX#2AB52A
RGBrgb(42, 181, 42)
HSLhsl(120, 62%, 44%)
HSVhsv(120, 77%, 71%)
CMYKcmyk(76.8%, 0%, 76.8%, 29%)
CIE-LABlab(64.73, -61.39, 56.29)
CIE-LCHlch(64.73, 83.29, 137.48°)
OKLaboklab(67.58% -0.1666 0.1264)
OKLCHoklch(67.58% 0.209 142.8)
XYZxyz(17.8955, 33.7051, 7.7526)
Luminance0.3371 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB52A #B52AB5
analogous
#6FB52A #2AB52A #2AB56F
triadic
#2AB52A #2A2AB5 #B52A2A
tetradic
#2AB52A #2A6FB5 #B52AB5 #B56F2A
square
#2AB52A #2A6FB5 #B52AB5 #B56F2A
split-complementary
#2AB52A #6F2AB5 #B52A6F
monochromatic
#135213 #1E831E #2AB52A #48D448 #79E079

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2AB52A#FFFFFF#000000##000000
##2AB52A1.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)
#B9A307
Deuteranopia (green-blind)
#AA993A
Tritanopia (blue-blind)
#00B09B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #2ab52a;
/* rgb */ color: rgb(42, 181, 42);
/* oklch */ color: oklch(67.6% 0.209 142.8);
Tailwind
colors: {
  custom: {
    50: '#7ccc6e',
    500: '#2ab52a',
    950: '#000000',
  },
}
SCSS
$custom: #2ab52a;
$custom-light: #7ccc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab52a",
  "rgb": {
    "r": 42,
    "g": 181,
    "b": 42
  },
  "hsl": {
    "h": 120,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.67584,
    "c": 0.20914,
    "h": 142.8
  },
  "luminance": 0.33707
}

Semantic roles & 50–950 ramp

primary
#2AB52A
secondary
#C873C8
accent
#42E5E5
background
#F8FCF6
surface
#EFF9EC
border
#CAD2C7
text
#0B1408
muted
#7C827B

Preview Lab

Preview with #2AB52A

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

Preview Lab → · Contrast checker → · Palette generator →

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