#2AB56C#2AB56C

#2AB56C is a light, vivid green. Relative luminance 0.346; OKLCH L 68.4% C 0.157 H 154.6°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#2AB56C
RGBrgb(42, 181, 108)
HSLhsl(148, 62%, 44%)
HSVhsv(148, 77%, 71%)
CMYKcmyk(76.8%, 0%, 40.3%, 29%)
CIE-LABlab(65.45, -52.78, 27.12)
CIE-LCHlch(65.45, 59.34, 152.81°)
OKLaboklab(68.42% -0.1422 0.0675)
OKLCHoklch(68.42% 0.157 154.6)
XYZxyz(20.1836, 34.6203, 19.8031)
Luminance0.3462 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB56C #B52A73
analogous
#2DB52A #2AB56C #2AB5B1
triadic
#2AB56C #6C2AB5 #B56C2A
tetradic
#2AB56C #2A2DB5 #B52A73 #B5B12A
square
#2AB56C #2A2DB5 #B52A73 #B5B12A
split-complementary
#2AB56C #B12AB5 #B52A2D
monochromatic
#135231 #1E834E #2AB56C #48D48B #79E0AA

Accessibility & contrast

On white

2.65
#2AB56C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#2AB56C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB56C
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB56C#FFFFFF#000000##000000
##2AB56C1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A667
Deuteranopia (green-blind)
#A49A71
Tritanopia (blue-blind)
#00B3A3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #2ab56c;
/* rgb */ color: rgb(42, 181, 108);
/* oklch */ color: oklch(68.4% 0.157 154.6);
Tailwind
colors: {
  custom: {
    50: '#79cc97',
    500: '#2ab56c',
    950: '#000000',
  },
}
SCSS
$custom: #2ab56c;
$custom-light: #79cc97;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab56c",
  "rgb": {
    "r": 42,
    "g": 181,
    "b": 108
  },
  "hsl": {
    "h": 148.489,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.68419,
    "c": 0.15743,
    "h": 154.6
  },
  "luminance": 0.34623
}

Semantic roles & 50–950 ramp

primary
#2AB56C
secondary
#C873A0
accent
#4298E5
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #2AB56C

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

Preview Lab → · Contrast checker → · Palette generator →

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