#2F987D#2F987D

#2F987D is a mid, moderate teal. Relative luminance 0.245; OKLCH L 61.3% C 0.103 H 172.1°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#2F987D
RGBrgb(47, 152, 125)
HSLhsl(165, 53%, 39%)
HSVhsv(165, 69%, 60%)
CMYKcmyk(69.1%, 0%, 17.8%, 40.4%)
CIE-LABlab(56.62, -36.38, 5.61)
CIE-LCHlch(56.62, 36.81, 171.23°)
OKLaboklab(61.31% -0.1024 0.0143)
OKLCHoklch(61.31% 0.103 172.1)
XYZxyz(16.1003, 24.5397, 23.2862)
Luminance0.2454 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F987D #982F4A
analogous
#2F9848 #2F987D #2F7F98
triadic
#2F987D #7D2F98 #987D2F
tetradic
#2F987D #482F98 #982F4A #7F982F
square
#2F987D #482F98 #982F4A #7F982F
split-complementary
#2F987D #982F7F #98482F
monochromatic
#123B30 #216957 #2F987D #40C4A2 #6FD2B9

Accessibility & contrast

On white

3.55
#2F987D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#2F987D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F987D
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F987D#FFFFFF#000000##000000
##2F987D1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f987d;
/* rgb */ color: rgb(47, 152, 125);
/* oklch */ color: oklch(61.3% 0.103 172.1);
Tailwind
colors: {
  custom: {
    50: '#76b7a2',
    500: '#2f987d',
    950: '#000000',
  },
}
SCSS
$custom: #2f987d;
$custom-light: #76b7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f987d",
  "rgb": {
    "r": 47,
    "g": 152,
    "b": 125
  },
  "hsl": {
    "h": 164.571,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61308,
    "c": 0.1034,
    "h": 172.1
  },
  "luminance": 0.24541
}

Semantic roles & 50–950 ramp

primary
#2F987D
secondary
#BA697E
accent
#4C71DC
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110F
muted
#7B807E

Preview Lab

Preview with #2F987D

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

Preview Lab → · Contrast checker → · Palette generator →

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