#2A987D#2A987D

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

Color values

HEX#2A987D
RGBrgb(42, 152, 125)
HSLhsl(165, 57%, 38%)
HSVhsv(165, 72%, 60%)
CMYKcmyk(72.4%, 0%, 17.8%, 40.4%)
CIE-LABlab(56.51, -37.16, 5.44)
CIE-LCHlch(56.51, 37.55, 171.67°)
OKLaboklab(61.19% -0.1046 0.0138)
OKLCHoklch(61.19% 0.106 172.5)
XYZxyz(15.8829, 24.4275, 23.2760)
Luminance0.2443 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A987D #982A45
analogous
#2A9846 #2A987D #2A7C98
triadic
#2A987D #7D2A98 #987D2A
tetradic
#2A987D #462A98 #982A45 #7C982A
square
#2A987D #462A98 #982A45 #7C982A
split-complementary
#2A987D #982A7C #98462A
monochromatic
#10382E #1D6856 #2A987D #37C8A4 #67D5BA

Accessibility & contrast

On white

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

On black

5.89
#2A987D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A987D
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A987D#FFFFFF#000000##000000
##2A987D1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938E7C
Deuteranopia (green-blind)
#84837F
Tritanopia (blue-blind)
#009990
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #2a987d;
/* rgb */ color: rgb(42, 152, 125);
/* oklch */ color: oklch(61.2% 0.106 172.5);
Tailwind
colors: {
  custom: {
    50: '#74b7a2',
    500: '#2a987d',
    950: '#000000',
  },
}
SCSS
$custom: #2a987d;
$custom-light: #74b7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a987d",
  "rgb": {
    "r": 42,
    "g": 152,
    "b": 125
  },
  "hsl": {
    "h": 165.273,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.61186,
    "c": 0.10552,
    "h": 172.5
  },
  "luminance": 0.24429
}

Semantic roles & 50–950 ramp

primary
#2A987D
secondary
#BB6278
accent
#486DE0
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110F
muted
#7B807E

Preview Lab

Preview with #2A987D

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

Preview Lab → · Contrast checker → · Palette generator →

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