#2AB54C#2AB54C

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

Color values

HEX#2AB54C
RGBrgb(42, 181, 76)
HSLhsl(135, 62%, 44%)
HSVhsv(135, 77%, 71%)
CMYKcmyk(76.8%, 0%, 58%, 29%)
CIE-LABlab(65.01, -57.95, 42.68)
CIE-LCHlch(65.01, 71.97, 143.63°)
OKLaboklab(67.91% -0.1559 0.1013)
OKLCHoklch(67.91% 0.186 147)
XYZxyz(18.7818, 34.0596, 12.4204)
Luminance0.3406 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB54C #B52A93
analogous
#4DB52A #2AB54C #2AB591
triadic
#2AB54C #4C2AB5 #B54C2A
tetradic
#2AB54C #2A4DB5 #B52A93 #B5912A
square
#2AB54C #2A4DB5 #B52A93 #B5912A
split-complementary
#2AB54C #912AB5 #B52A4D
monochromatic
#135222 #1E8337 #2AB54C #48D46A #79E092

Accessibility & contrast

On white

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

On black

7.81
#2AB54C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB54C
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB54C#FFFFFF#000000##000000
##2AB54C1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2ab54c;
/* rgb */ color: rgb(42, 181, 76);
/* oklch */ color: oklch(67.9% 0.186 147.0);
Tailwind
colors: {
  custom: {
    50: '#7acc81',
    500: '#2ab54c',
    950: '#000000',
  },
}
SCSS
$custom: #2ab54c;
$custom-light: #7acc81;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab54c",
  "rgb": {
    "r": 42,
    "g": 181,
    "b": 76
  },
  "hsl": {
    "h": 134.676,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.67909,
    "c": 0.18594,
    "h": 147
  },
  "luminance": 0.34062
}

Semantic roles & 50–950 ramp

primary
#2AB54C
secondary
#C873B3
accent
#42BEE5
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #2AB54C

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

Preview Lab → · Contrast checker → · Palette generator →

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