#2F987A#2F987A

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

Color values

HEX#2F987A
RGBrgb(47, 152, 122)
HSLhsl(163, 53%, 39%)
HSVhsv(163, 69%, 60%)
CMYKcmyk(69.1%, 0%, 19.7%, 40.4%)
CIE-LABlab(56.55, -37.15, 7.21)
CIE-LCHlch(56.55, 37.84, 169.02°)
OKLaboklab(61.22% -0.1039 0.0184)
OKLCHoklch(61.22% 0.106 170)
XYZxyz(15.9116, 24.4642, 22.2921)
Luminance0.2447 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F987A #982F4D
analogous
#2F9846 #2F987A #2F8298
triadic
#2F987A #7A2F98 #987A2F
tetradic
#2F987A #462F98 #982F4D #82982F
square
#2F987A #462F98 #982F4D #82982F
split-complementary
#2F987A #982F82 #98462F
monochromatic
#123B2F #216954 #2F987A #40C49E #6FD2B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F987A#FFFFFF#000000##000000
##2F987A1.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f987a;
/* rgb */ color: rgb(47, 152, 122);
/* oklch */ color: oklch(61.2% 0.105 170.0);
Tailwind
colors: {
  custom: {
    50: '#76b7a0',
    500: '#2f987a',
    950: '#000000',
  },
}
SCSS
$custom: #2f987a;
$custom-light: #76b7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f987a",
  "rgb": {
    "r": 47,
    "g": 152,
    "b": 122
  },
  "hsl": {
    "h": 162.857,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61222,
    "c": 0.1055,
    "h": 170
  },
  "luminance": 0.24466
}

Semantic roles & 50–950 ramp

primary
#2F987A
secondary
#BA6980
accent
#4C75DC
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #2F987A

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

Preview Lab → · Contrast checker → · Palette generator →

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