#2A9787#2A9787

#2A9787 is a mid, moderate teal. Relative luminance 0.244; OKLCH L 61.2% C 0.099 H 180.9°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#2A9787
RGBrgb(42, 151, 135)
HSLhsl(171, 56%, 38%)
HSVhsv(171, 72%, 59%)
CMYKcmyk(72.2%, 0%, 10.6%, 40.8%)
CIE-LABlab(56.46, -34.01, -0.34)
CIE-LCHlch(56.46, 34.01, 180.58°)
OKLaboklab(61.23% -0.0987 -0.0015)
OKLCHoklch(61.23% 0.099 180.9)
XYZxyz(16.3925, 24.3728, 26.7575)
Luminance0.2437 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9787 #972A3A
analogous
#2A9751 #2A9787 #2A7097
triadic
#2A9787 #872A97 #97872A
tetradic
#2A9787 #512A97 #972A3A #70972A
square
#2A9787 #512A97 #972A3A #70972A
split-complementary
#2A9787 #972A70 #97512A
monochromatic
#0F3731 #1D675C #2A9787 #37C7B2 #67D5C5

Accessibility & contrast

On white

3.57
#2A9787 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#2A9787 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9787
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9787#FFFFFF#000000##000000
##2A97871.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#908E86
Deuteranopia (green-blind)
#818388
Tritanopia (blue-blind)
#009A92
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2a9787;
/* rgb */ color: rgb(42, 151, 135);
/* oklch */ color: oklch(61.2% 0.099 180.9);
Tailwind
colors: {
  custom: {
    50: '#74b6a9',
    500: '#2a9787',
    950: '#000000',
  },
}
SCSS
$custom: #2a9787;
$custom-light: #74b6a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9787",
  "rgb": {
    "r": 42,
    "g": 151,
    "b": 135
  },
  "hsl": {
    "h": 171.193,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61229,
    "c": 0.09872,
    "h": 180.9
  },
  "luminance": 0.24375
}

Semantic roles & 50–950 ramp

primary
#2A9787
secondary
#BB626F
accent
#485EE0
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#091110
muted
#7B807F

Preview Lab

Preview with #2A9787

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

Preview Lab → · Contrast checker → · Palette generator →

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