#2AB187#2AB187

#2AB187 is a light, vivid teal. Relative luminance 0.337; OKLCH L 68.0% C 0.129 H 166.8°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#2AB187
RGBrgb(42, 177, 135)
HSLhsl(161, 62%, 43%)
HSVhsv(161, 76%, 69%)
CMYKcmyk(76.3%, 0%, 23.7%, 30.6%)
CIE-LABlab(64.71, -45.39, 11.51)
CIE-LCHlch(64.71, 46.83, 165.78°)
OKLaboklab(67.98% -0.1254 0.0294)
OKLCHoklch(67.98% 0.129 166.8)
XYZxyz(21.0477, 33.6833, 28.3092)
Luminance0.3369 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB187 #B12A54
analogous
#2AB143 #2AB187 #2A98B1
triadic
#2AB187 #872AB1 #B1872A
tetradic
#2AB187 #432AB1 #B12A54 #98B12A
square
#2AB187 #432AB1 #B12A54 #98B12A
split-complementary
#2AB187 #B12A98 #B1432A
monochromatic
#134E3C #1E8061 #2AB187 #45D3A7 #77DFBE

Accessibility & contrast

On white

2.71
#2AB187 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#2AB187 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB187
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB187#FFFFFF#000000##000000
##2AB1871.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA485
Deuteranopia (green-blind)
#9C988A
Tritanopia (blue-blind)
#00B2A5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #2ab187;
/* rgb */ color: rgb(42, 177, 135);
/* oklch */ color: oklch(68.0% 0.129 166.8);
Tailwind
colors: {
  custom: {
    50: '#79c9aa',
    500: '#2ab187',
    950: '#000000',
  },
}
SCSS
$custom: #2ab187;
$custom-light: #79c9aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab187",
  "rgb": {
    "r": 42,
    "g": 177,
    "b": 135
  },
  "hsl": {
    "h": 161.333,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.67982,
    "c": 0.12883,
    "h": 166.8
  },
  "luminance": 0.33686
}

Semantic roles & 50–950 ramp

primary
#2AB187
secondary
#C6708B
accent
#4375E5
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0A1310
muted
#7C827F

Preview Lab

Preview with #2AB187

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

Preview Lab → · Contrast checker → · Palette generator →

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