#2AB979#2AB979

#2AB979 is a light, vivid teal. Relative luminance 0.366; OKLCH L 69.7% C 0.151 H 158.2°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#2AB979
RGBrgb(42, 185, 121)
HSLhsl(153, 63%, 45%)
HSVhsv(153, 77%, 73%)
CMYKcmyk(77.3%, 0%, 34.6%, 27.5%)
CIE-LABlab(66.95, -51.71, 22.21)
CIE-LCHlch(66.95, 56.28, 156.75°)
OKLaboklab(69.73% -0.14 0.056)
OKLCHoklch(69.73% 0.151 158.2)
XYZxyz(21.7528, 36.5680, 23.9973)
Luminance0.3657 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB979 #B92A6A
analogous
#2AB932 #2AB979 #2AB2B9
triadic
#2AB979 #792AB9 #B9792A
tetradic
#2AB979 #322AB9 #B92A6A #B2B92A
square
#2AB979 #322AB9 #B92A6A #B2B92A
split-complementary
#2AB979 #B92AB2 #B9322A
monochromatic
#135538 #1F8758 #2AB979 #4AD697 #7CE1B4

Accessibility & contrast

On white

2.53
#2AB979 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#2AB979 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB979
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB979#FFFFFF#000000##000000
##2AB9791.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7AA75
Deuteranopia (green-blind)
#A69E7D
Tritanopia (blue-blind)
#00B8A8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #2ab979;
/* rgb */ color: rgb(42, 185, 121);
/* oklch */ color: oklch(69.7% 0.151 158.2);
Tailwind
colors: {
  custom: {
    50: '#7acfa0',
    500: '#2ab979',
    950: '#000000',
  },
}
SCSS
$custom: #2ab979;
$custom-light: #7acfa0;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab979",
  "rgb": {
    "r": 42,
    "g": 185,
    "b": 121
  },
  "hsl": {
    "h": 153.147,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.69731,
    "c": 0.15081,
    "h": 158.2
  },
  "luminance": 0.36571
}

Semantic roles & 50–950 ramp

primary
#2AB979
secondary
#CA759B
accent
#428BE6
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B140E
muted
#7C827E

Preview Lab

Preview with #2AB979

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

Preview Lab → · Contrast checker → · Palette generator →

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