#2AB52B#2AB52B

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

Color values

HEX#2AB52B
RGBrgb(42, 181, 43)
HSLhsl(120, 62%, 44%)
HSVhsv(120, 77%, 71%)
CMYKcmyk(76.8%, 0%, 76.2%, 29%)
CIE-LABlab(64.73, -61.32, 55.96)
CIE-LCHlch(64.73, 83.02, 137.61°)
OKLaboklab(67.59% -0.1664 0.1258)
OKLCHoklch(67.59% 0.209 142.9)
XYZxyz(17.9136, 33.7123, 7.8481)
Luminance0.3371 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB52B #B52AB4
analogous
#6EB52A #2AB52B #2AB570
triadic
#2AB52B #2B2AB5 #B52B2A
tetradic
#2AB52B #2A6EB5 #B52AB4 #B5702A
square
#2AB52B #2A6EB5 #B52AB4 #B5702A
split-complementary
#2AB52B #702AB5 #B52A6E
monochromatic
#135213 #1E831F #2AB52B #48D449 #79E07A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2ab52b;
/* rgb */ color: rgb(42, 181, 43);
/* oklch */ color: oklch(67.6% 0.209 142.9);
Tailwind
colors: {
  custom: {
    50: '#7ccc6e',
    500: '#2ab52b',
    950: '#000000',
  },
}
SCSS
$custom: #2ab52b;
$custom-light: #7ccc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab52b",
  "rgb": {
    "r": 42,
    "g": 181,
    "b": 43
  },
  "hsl": {
    "h": 120.432,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.67591,
    "c": 0.20862,
    "h": 142.9
  },
  "luminance": 0.33714
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2AB52B

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

Preview Lab → · Contrast checker → · Palette generator →

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