#2AB158#2AB158

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

Color values

HEX#2AB158
RGBrgb(42, 177, 88)
HSLhsl(140, 62%, 43%)
HSVhsv(140, 76%, 69%)
CMYKcmyk(76.3%, 0%, 50.3%, 30.6%)
CIE-LABlab(63.87, -54.82, 35.43)
CIE-LCHlch(63.87, 65.27, 147.12°)
OKLaboklab(67.01% -0.1473 0.086)
OKLCHoklch(67.01% 0.171 149.7)
XYZxyz(18.4369, 32.6389, 14.5589)
Luminance0.3264 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB158 #B12A83
analogous
#40B12A #2AB158 #2AB19B
triadic
#2AB158 #582AB1 #B1582A
tetradic
#2AB158 #2A40B1 #B12A83 #B19B2A
square
#2AB158 #2A40B1 #B12A83 #B19B2A
split-complementary
#2AB158 #9B2AB1 #B12A40
monochromatic
#134E27 #1E803F #2AB158 #45D376 #77DF9A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2AB158#FFFFFF#000000##000000
##2AB1581.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)
#B2A151
Deuteranopia (green-blind)
#A3965E
Tritanopia (blue-blind)
#00AE9C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #2ab158;
/* rgb */ color: rgb(42, 177, 88);
/* oklch */ color: oklch(67.0% 0.171 149.7);
Tailwind
colors: {
  custom: {
    50: '#79c989',
    500: '#2ab158',
    950: '#000000',
  },
}
SCSS
$custom: #2ab158;
$custom-light: #79c989;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab158",
  "rgb": {
    "r": 42,
    "g": 177,
    "b": 88
  },
  "hsl": {
    "h": 140.444,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.6701,
    "c": 0.17059,
    "h": 149.7
  },
  "luminance": 0.32641
}

Semantic roles & 50–950 ramp

primary
#2AB158
secondary
#C670A9
accent
#43AEE5
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #2AB158

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

Preview Lab → · Contrast checker → · Palette generator →

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