#2AB52E#2AB52E

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

Color values

HEX#2AB52E
RGBrgb(42, 181, 46)
HSLhsl(122, 62%, 44%)
HSVhsv(122, 77%, 71%)
CMYKcmyk(76.8%, 0%, 74.6%, 29%)
CIE-LABlab(64.75, -61.09, 54.94)
CIE-LCHlch(64.75, 82.17, 138.03°)
OKLaboklab(67.61% -0.1656 0.1241)
OKLCHoklch(67.61% 0.207 143.2)
XYZxyz(17.9707, 33.7351, 8.1487)
Luminance0.3374 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB52E #B52AB1
analogous
#6BB52A #2AB52E #2AB573
triadic
#2AB52E #2E2AB5 #B52E2A
tetradic
#2AB52E #2A6BB5 #B52AB1 #B5732A
square
#2AB52E #2A6BB5 #B52AB1 #B5732A
split-complementary
#2AB52E #732AB5 #B52A6B
monochromatic
#135215 #1E8321 #2AB52E #48D44C #79E07C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2AB52E#FFFFFF#000000##000000
##2AB52E1.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)
#B9A313
Deuteranopia (green-blind)
#AA993D
Tritanopia (blue-blind)
#00B09B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #2ab52e;
/* rgb */ color: rgb(42, 181, 46);
/* oklch */ color: oklch(67.6% 0.207 143.2);
Tailwind
colors: {
  custom: {
    50: '#7ccc70',
    500: '#2ab52e',
    950: '#000000',
  },
}
SCSS
$custom: #2ab52e;
$custom-light: #7ccc70;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab52e",
  "rgb": {
    "r": 42,
    "g": 181,
    "b": 46
  },
  "hsl": {
    "h": 121.727,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.67612,
    "c": 0.20699,
    "h": 143.2
  },
  "luminance": 0.33737
}

Semantic roles & 50–950 ramp

primary
#2AB52E
secondary
#C873C6
accent
#42E1E5
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1408
muted
#7C827B

Preview Lab

Preview with #2AB52E

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

Preview Lab → · Contrast checker → · Palette generator →

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