#2AB987#2AB987

#2AB987 is a light, vivid teal. Relative luminance 0.369; OKLCH L 70.1% C 0.139 H 164.0°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#2AB987
RGBrgb(42, 185, 135)
HSLhsl(159, 63%, 45%)
HSVhsv(159, 77%, 73%)
CMYKcmyk(77.3%, 0%, 27%, 27.5%)
CIE-LABlab(67.23, -48.65, 15.04)
CIE-LCHlch(67.23, 50.92, 162.82°)
OKLaboklab(70.05% -0.1334 0.0383)
OKLCHoklch(70.05% 0.139 164)
XYZxyz(22.6744, 36.9367, 28.8514)
Luminance0.3694 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB987 #B92A5C
analogous
#2AB940 #2AB987 #2AA4B9
triadic
#2AB987 #872AB9 #B9872A
tetradic
#2AB987 #402AB9 #B92A5C #A4B92A
square
#2AB987 #402AB9 #B92A5C #A4B92A
split-complementary
#2AB987 #B92AA4 #B9402A
monochromatic
#13553E #1F8763 #2AB987 #4AD6A5 #7CE1BE

Accessibility & contrast

On white

2.50
#2AB987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#2AB987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB987
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB987#FFFFFF#000000##000000
##2AB9871.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5AB84
Deuteranopia (green-blind)
#A49E8A
Tritanopia (blue-blind)
#00B9AB
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #2ab987;
/* rgb */ color: rgb(42, 185, 135);
/* oklch */ color: oklch(70.1% 0.139 164.0);
Tailwind
colors: {
  custom: {
    50: '#7bcfaa',
    500: '#2ab987',
    950: '#000000',
  },
}
SCSS
$custom: #2ab987;
$custom-light: #7bcfaa;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab987",
  "rgb": {
    "r": 42,
    "g": 185,
    "b": 135
  },
  "hsl": {
    "h": 159.021,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.70052,
    "c": 0.13877,
    "h": 164
  },
  "luminance": 0.36939
}

Semantic roles & 50–950 ramp

primary
#2AB987
secondary
#CA7593
accent
#427BE6
background
#F8FCFA
surface
#EFF9F4
border
#CAD2CE
text
#0B1410
muted
#7C827F

Preview Lab

Preview with #2AB987

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

Preview Lab → · Contrast checker → · Palette generator →

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