#2AB998#2AB998

#2AB998 is a light, vivid teal. Relative luminance 0.375; OKLCH L 70.5% C 0.126 H 172.7°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#2AB998
RGBrgb(42, 185, 152)
HSLhsl(166, 63%, 45%)
HSVhsv(166, 77%, 73%)
CMYKcmyk(77.3%, 0%, 17.8%, 27.5%)
CIE-LABlab(67.62, -44.53, 6.30)
CIE-LCHlch(67.62, 44.97, 171.95°)
OKLaboklab(70.5% -0.1252 0.016)
OKLCHoklch(70.5% 0.126 172.7)
XYZxyz(23.9683, 37.4542, 35.6658)
Luminance0.3746 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB998 #B92A4B
analogous
#2AB951 #2AB998 #2A93B9
triadic
#2AB998 #982AB9 #B9982A
tetradic
#2AB998 #512AB9 #B92A4B #93B92A
square
#2AB998 #512AB9 #B92A4B #93B92A
split-complementary
#2AB998 #B92A93 #B9512A
monochromatic
#135546 #1F876F #2AB998 #4AD6B6 #7CE1CA

Accessibility & contrast

On white

2.47
#2AB998 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#2AB998 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB998
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB998#FFFFFF#000000##000000
##2AB9981.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3AD96
Deuteranopia (green-blind)
#A19F9A
Tritanopia (blue-blind)
#00BBAF
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #2ab998;
/* rgb */ color: rgb(42, 185, 152);
/* oklch */ color: oklch(70.5% 0.126 172.7);
Tailwind
colors: {
  custom: {
    50: '#7bcfb6',
    500: '#2ab998',
    950: '#000000',
  },
}
SCSS
$custom: #2ab998;
$custom-light: #7bcfb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab998",
  "rgb": {
    "r": 42,
    "g": 185,
    "b": 152
  },
  "hsl": {
    "h": 166.154,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.70497,
    "c": 0.12625,
    "h": 172.7
  },
  "luminance": 0.37457
}

Semantic roles & 50–950 ramp

primary
#2AB998
secondary
#CA7589
accent
#4268E6
background
#F8FCFB
surface
#EFF9F6
border
#CAD2D0
text
#0B1411
muted
#7C8280

Preview Lab

Preview with #2AB998

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

Preview Lab → · Contrast checker → · Palette generator →

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