#2A987C#2A987C

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

Color values

HEX#2A987C
RGBrgb(42, 152, 124)
HSLhsl(165, 57%, 38%)
HSVhsv(165, 72%, 60%)
CMYKcmyk(72.4%, 0%, 18.4%, 40.4%)
CIE-LABlab(56.49, -37.41, 5.97)
CIE-LCHlch(56.49, 37.89, 170.93°)
OKLaboklab(61.16% -0.1051 0.0152)
OKLCHoklch(61.16% 0.106 171.8)
XYZxyz(15.8193, 24.4021, 22.9412)
Luminance0.2440 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A987C #982A46
analogous
#2A9845 #2A987C #2A7D98
triadic
#2A987C #7C2A98 #987C2A
tetradic
#2A987C #452A98 #982A46 #7D982A
square
#2A987C #452A98 #982A46 #7D982A
split-complementary
#2A987C #982A7D #98452A
monochromatic
#10382E #1D6855 #2A987C #37C8A3 #67D5B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A987C#FFFFFF#000000##000000
##2A987C1.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)
#938E7B
Deuteranopia (green-blind)
#85837E
Tritanopia (blue-blind)
#009990
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2a987c;
/* rgb */ color: rgb(42, 152, 124);
/* oklch */ color: oklch(61.2% 0.106 171.8);
Tailwind
colors: {
  custom: {
    50: '#74b7a1',
    500: '#2a987c',
    950: '#000000',
  },
}
SCSS
$custom: #2a987c;
$custom-light: #74b7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a987c",
  "rgb": {
    "r": 42,
    "g": 152,
    "b": 124
  },
  "hsl": {
    "h": 164.727,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.61157,
    "c": 0.10619,
    "h": 171.8
  },
  "luminance": 0.24404
}

Semantic roles & 50–950 ramp

primary
#2A987C
secondary
#BB6279
accent
#486FE0
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110F
muted
#7B807E

Preview Lab

Preview with #2A987C

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

Preview Lab → · Contrast checker → · Palette generator →

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