#2F987C#2F987C

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

Color values

HEX#2F987C
RGBrgb(47, 152, 124)
HSLhsl(164, 53%, 39%)
HSVhsv(164, 69%, 60%)
CMYKcmyk(69.1%, 0%, 18.4%, 40.4%)
CIE-LABlab(56.60, -36.64, 6.14)
CIE-LCHlch(56.60, 37.15, 170.48°)
OKLaboklab(61.28% -0.1029 0.0157)
OKLCHoklch(61.28% 0.104 171.4)
XYZxyz(16.0368, 24.5142, 22.9514)
Luminance0.2452 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F987C #982F4B
analogous
#2F9848 #2F987C #2F8098
triadic
#2F987C #7C2F98 #987C2F
tetradic
#2F987C #482F98 #982F4B #80982F
square
#2F987C #482F98 #982F4B #80982F
split-complementary
#2F987C #982F80 #98482F
monochromatic
#123B30 #216956 #2F987C #40C4A1 #6FD2B8

Accessibility & contrast

On white

3.56
#2F987C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#2F987C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F987C
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F987C#FFFFFF#000000##000000
##2F987C1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f987c;
/* rgb */ color: rgb(47, 152, 124);
/* oklch */ color: oklch(61.3% 0.104 171.4);
Tailwind
colors: {
  custom: {
    50: '#76b7a1',
    500: '#2f987c',
    950: '#000000',
  },
}
SCSS
$custom: #2f987c;
$custom-light: #76b7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f987c",
  "rgb": {
    "r": 47,
    "g": 152,
    "b": 124
  },
  "hsl": {
    "h": 164,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61279,
    "c": 0.10408,
    "h": 171.4
  },
  "luminance": 0.24516
}

Semantic roles & 50–950 ramp

primary
#2F987C
secondary
#BA697F
accent
#4C72DC
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110F
muted
#7B807E

Preview Lab

Preview with #2F987C

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

Preview Lab → · Contrast checker → · Palette generator →

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