#2A987B#2A987B

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

Color values

HEX#2A987B
RGBrgb(42, 152, 123)
HSLhsl(164, 57%, 38%)
HSVhsv(164, 72%, 60%)
CMYKcmyk(72.4%, 0%, 19.1%, 40.4%)
CIE-LABlab(56.46, -37.67, 6.50)
CIE-LCHlch(56.46, 38.23, 170.21°)
OKLaboklab(61.13% -0.1056 0.0166)
OKLCHoklch(61.13% 0.107 171.1)
XYZxyz(15.7564, 24.3769, 22.6099)
Luminance0.2438 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A987B #982A47
analogous
#2A9844 #2A987B #2A7E98
triadic
#2A987B #7B2A98 #987B2A
tetradic
#2A987B #442A98 #982A47 #7E982A
square
#2A987B #442A98 #982A47 #7E982A
split-complementary
#2A987B #982A7E #98442A
monochromatic
#10382D #1D6854 #2A987B #37C8A2 #67D5B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A987B#FFFFFF#000000##000000
##2A987B1.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)
#938E7A
Deuteranopia (green-blind)
#85837D
Tritanopia (blue-blind)
#009990
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2a987b;
/* rgb */ color: rgb(42, 152, 123);
/* oklch */ color: oklch(61.1% 0.107 171.1);
Tailwind
colors: {
  custom: {
    50: '#74b7a1',
    500: '#2a987b',
    950: '#000000',
  },
}
SCSS
$custom: #2a987b;
$custom-light: #74b7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a987b",
  "rgb": {
    "r": 42,
    "g": 152,
    "b": 123
  },
  "hsl": {
    "h": 164.182,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.61128,
    "c": 0.10689,
    "h": 171.1
  },
  "luminance": 0.24379
}

Semantic roles & 50–950 ramp

primary
#2A987B
secondary
#BB627A
accent
#4870E0
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #2A987B

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

Preview Lab → · Contrast checker → · Palette generator →

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