#2AB54D#2AB54D

#2AB54D is a light, vivid green. Relative luminance 0.341; OKLCH L 67.9% C 0.185 H 147.2°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#2AB54D
RGBrgb(42, 181, 77)
HSLhsl(135, 62%, 44%)
HSVhsv(135, 77%, 71%)
CMYKcmyk(76.8%, 0%, 57.5%, 29%)
CIE-LABlab(65.02, -57.82, 42.22)
CIE-LCHlch(65.02, 71.59, 143.86°)
OKLaboklab(67.92% -0.1555 0.1003)
OKLCHoklch(67.92% 0.185 147.2)
XYZxyz(18.8168, 34.0736, 12.6049)
Luminance0.3408 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB54D #B52A92
analogous
#4CB52A #2AB54D #2AB592
triadic
#2AB54D #4D2AB5 #B54D2A
tetradic
#2AB54D #2A4CB5 #B52A92 #B5922A
square
#2AB54D #2A4CB5 #B52A92 #B5922A
split-complementary
#2AB54D #922AB5 #B52A4C
monochromatic
#135223 #1E8338 #2AB54D #48D46B #79E093

Accessibility & contrast

On white

2.69
#2AB54D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#2AB54D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB54D
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB54D#FFFFFF#000000##000000
##2AB54D1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A443
Deuteranopia (green-blind)
#A89955
Tritanopia (blue-blind)
#00B19E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #2ab54d;
/* rgb */ color: rgb(42, 181, 77);
/* oklch */ color: oklch(67.9% 0.185 147.2);
Tailwind
colors: {
  custom: {
    50: '#7acc82',
    500: '#2ab54d',
    950: '#000000',
  },
}
SCSS
$custom: #2ab54d;
$custom-light: #7acc82;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab54d",
  "rgb": {
    "r": 42,
    "g": 181,
    "b": 77
  },
  "hsl": {
    "h": 135.108,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.67922,
    "c": 0.18511,
    "h": 147.2
  },
  "luminance": 0.34076
}

Semantic roles & 50–950 ramp

primary
#2AB54D
secondary
#C873B3
accent
#42BCE5
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B140B
muted
#7C827C

Preview Lab

Preview with #2AB54D

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

Preview Lab → · Contrast checker → · Palette generator →

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