#2A987A#2A987A

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

Color values

HEX#2A987A
RGBrgb(42, 152, 122)
HSLhsl(164, 57%, 38%)
HSVhsv(164, 72%, 60%)
CMYKcmyk(72.4%, 0%, 19.7%, 40.4%)
CIE-LABlab(56.44, -37.93, 7.04)
CIE-LCHlch(56.44, 38.58, 169.49°)
OKLaboklab(61.1% -0.1061 0.018)
OKLCHoklch(61.1% 0.108 170.4)
XYZxyz(15.6941, 24.3520, 22.2819)
Luminance0.2435 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A987A #982A48
analogous
#2A9843 #2A987A #2A7F98
triadic
#2A987A #7A2A98 #987A2A
tetradic
#2A987A #432A98 #982A48 #7F982A
square
#2A987A #432A98 #982A48 #7F982A
split-complementary
#2A987A #982A7F #98432A
monochromatic
#10382D #1D6854 #2A987A #37C8A0 #67D5B7

Accessibility & contrast

On white

3.58
#2A987A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#2A987A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A987A
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A987A#FFFFFF#000000##000000
##2A987A1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948E79
Deuteranopia (green-blind)
#85837C
Tritanopia (blue-blind)
#00998F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2a987a;
/* rgb */ color: rgb(42, 152, 122);
/* oklch */ color: oklch(61.1% 0.108 170.4);
Tailwind
colors: {
  custom: {
    50: '#74b7a0',
    500: '#2a987a',
    950: '#000000',
  },
}
SCSS
$custom: #2a987a;
$custom-light: #74b7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a987a",
  "rgb": {
    "r": 42,
    "g": 152,
    "b": 122
  },
  "hsl": {
    "h": 163.636,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.611,
    "c": 0.1076,
    "h": 170.4
  },
  "luminance": 0.24354
}

Semantic roles & 50–950 ramp

primary
#2A987A
secondary
#BB627B
accent
#4871E0
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #2A987A

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

Preview Lab → · Contrast checker → · Palette generator →

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