#2AB870#2AB870

#2AB870 is a light, vivid green. Relative luminance 0.359; OKLCH L 69.3% C 0.158 H 155.3°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#2AB870
RGBrgb(42, 184, 112)
HSLhsl(150, 63%, 44%)
HSVhsv(150, 77%, 72%)
CMYKcmyk(77.2%, 0%, 39.1%, 27.8%)
CIE-LABlab(66.47, -53.14, 26.36)
CIE-LCHlch(66.47, 59.31, 153.62°)
OKLaboklab(69.29% -0.1433 0.0658)
OKLCHoklch(69.29% 0.158 155.3)
XYZxyz(21.0179, 35.9405, 21.1556)
Luminance0.3594 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB870 #B82A72
analogous
#2BB82A #2AB870 #2AB8B7
triadic
#2AB870 #702AB8 #B8702A
tetradic
#2AB870 #2A2BB8 #B82A72 #B8B72A
square
#2AB870 #2A2BB8 #B82A72 #B8B72A
split-complementary
#2AB870 #B72AB8 #B82A2B
monochromatic
#135433 #1F8652 #2AB870 #4AD68F #7BE1AD

Accessibility & contrast

On white

2.56
#2AB870 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#2AB870 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB870
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB870#FFFFFF#000000##000000
##2AB8701.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A96B
Deuteranopia (green-blind)
#A79D75
Tritanopia (blue-blind)
#00B6A6
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #2ab870;
/* rgb */ color: rgb(42, 184, 112);
/* oklch */ color: oklch(69.3% 0.158 155.3);
Tailwind
colors: {
  custom: {
    50: '#7ace99',
    500: '#2ab870',
    950: '#000000',
  },
}
SCSS
$custom: #2ab870;
$custom-light: #7ace99;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab870",
  "rgb": {
    "r": 42,
    "g": 184,
    "b": 112
  },
  "hsl": {
    "h": 149.577,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.69285,
    "c": 0.15766,
    "h": 155.3
  },
  "luminance": 0.35943
}

Semantic roles & 50–950 ramp

primary
#2AB870
secondary
#C9759F
accent
#4295E6
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B140E
muted
#7C827E

Preview Lab

Preview with #2AB870

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

Preview Lab → · Contrast checker → · Palette generator →

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