#2AB157#2AB157

#2AB157 is a light, vivid green. Relative luminance 0.326; OKLCH L 67.0% C 0.171 H 149.5°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#2AB157
RGBrgb(42, 177, 87)
HSLhsl(140, 62%, 43%)
HSVhsv(140, 76%, 69%)
CMYKcmyk(76.3%, 0%, 50.8%, 30.6%)
CIE-LABlab(63.85, -54.98, 35.92)
CIE-LCHlch(63.85, 65.67, 146.84°)
OKLaboklab(67% -0.1477 0.087)
OKLCHoklch(67% 0.171 149.5)
XYZxyz(18.3958, 32.6225, 14.3422)
Luminance0.3262 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB157 #B12A84
analogous
#40B12A #2AB157 #2AB19A
triadic
#2AB157 #572AB1 #B1572A
tetradic
#2AB157 #2A40B1 #B12A84 #B19A2A
square
#2AB157 #2A40B1 #B12A84 #B19A2A
split-complementary
#2AB157 #9A2AB1 #B12A40
monochromatic
#134E26 #1E803F #2AB157 #45D374 #77DF99

Accessibility & contrast

On white

2.79
#2AB157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#2AB157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB157
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB157#FFFFFF#000000##000000
##2AB1571.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A14F
Deuteranopia (green-blind)
#A3965E
Tritanopia (blue-blind)
#00AE9C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #2ab157;
/* rgb */ color: rgb(42, 177, 87);
/* oklch */ color: oklch(67.0% 0.171 149.5);
Tailwind
colors: {
  custom: {
    50: '#79c988',
    500: '#2ab157',
    950: '#000000',
  },
}
SCSS
$custom: #2ab157;
$custom-light: #79c988;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab157",
  "rgb": {
    "r": 42,
    "g": 177,
    "b": 87
  },
  "hsl": {
    "h": 140,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.66995,
    "c": 0.17148,
    "h": 149.5
  },
  "luminance": 0.32625
}

Semantic roles & 50–950 ramp

primary
#2AB157
secondary
#C670AA
accent
#43AFE5
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #2AB157

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

Preview Lab → · Contrast checker → · Palette generator →

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