#2F987B#2F987B

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

Color values

HEX#2F987B
RGBrgb(47, 152, 123)
HSLhsl(163, 53%, 39%)
HSVhsv(163, 69%, 60%)
CMYKcmyk(69.1%, 0%, 19.1%, 40.4%)
CIE-LABlab(56.57, -36.89, 6.68)
CIE-LCHlch(56.57, 37.49, 169.74°)
OKLaboklab(61.25% -0.1034 0.017)
OKLCHoklch(61.25% 0.105 170.6)
XYZxyz(15.9738, 24.4891, 22.6201)
Luminance0.2449 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F987B #982F4C
analogous
#2F9847 #2F987B #2F8198
triadic
#2F987B #7B2F98 #987B2F
tetradic
#2F987B #472F98 #982F4C #81982F
square
#2F987B #472F98 #982F4C #81982F
split-complementary
#2F987B #982F81 #98472F
monochromatic
#123B2F #216955 #2F987B #40C4A0 #6FD2B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F987B#FFFFFF#000000##000000
##2F987B1.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)
#948E7A
Deuteranopia (green-blind)
#85837D
Tritanopia (blue-blind)
#009990
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #2f987b;
/* rgb */ color: rgb(47, 152, 123);
/* oklch */ color: oklch(61.3% 0.105 170.6);
Tailwind
colors: {
  custom: {
    50: '#76b7a1',
    500: '#2f987b',
    950: '#000000',
  },
}
SCSS
$custom: #2f987b;
$custom-light: #76b7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f987b",
  "rgb": {
    "r": 47,
    "g": 152,
    "b": 123
  },
  "hsl": {
    "h": 163.429,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61251,
    "c": 0.10478,
    "h": 170.6
  },
  "luminance": 0.24491
}

Semantic roles & 50–950 ramp

primary
#2F987B
secondary
#BA697F
accent
#4C74DC
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #2F987B

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

Preview Lab → · Contrast checker → · Palette generator →

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