#2F987E#2F987E

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

Color values

HEX#2F987E
RGBrgb(47, 152, 126)
HSLhsl(165, 53%, 39%)
HSVhsv(165, 69%, 60%)
CMYKcmyk(69.1%, 0%, 17.1%, 40.4%)
CIE-LABlab(56.65, -36.12, 5.08)
CIE-LCHlch(56.65, 36.48, 172.00°)
OKLaboklab(61.34% -0.1019 0.0129)
OKLCHoklch(61.34% 0.103 172.8)
XYZxyz(16.1645, 24.5654, 23.6243)
Luminance0.2457 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F987E #982F49
analogous
#2F984A #2F987E #2F7E98
triadic
#2F987E #7E2F98 #987E2F
tetradic
#2F987E #4A2F98 #982F49 #7E982F
square
#2F987E #4A2F98 #982F49 #7E982F
split-complementary
#2F987E #982F7E #984A2F
monochromatic
#123B31 #216957 #2F987E #40C4A3 #6FD2BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F987E#FFFFFF#000000##000000
##2F987E1.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)
#938E7D
Deuteranopia (green-blind)
#858480
Tritanopia (blue-blind)
#009990
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #2f987e;
/* rgb */ color: rgb(47, 152, 126);
/* oklch */ color: oklch(61.3% 0.103 172.8);
Tailwind
colors: {
  custom: {
    50: '#76b7a3',
    500: '#2f987e',
    950: '#000000',
  },
}
SCSS
$custom: #2f987e;
$custom-light: #76b7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f987e",
  "rgb": {
    "r": 47,
    "g": 152,
    "b": 126
  },
  "hsl": {
    "h": 165.143,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61337,
    "c": 0.10274,
    "h": 172.8
  },
  "luminance": 0.24567
}

Semantic roles & 50–950 ramp

primary
#2F987E
secondary
#BA697D
accent
#4C6FDC
background
#F7FBFA
surface
#EEF6F3
border
#C9D0CD
text
#09110F
muted
#7B807F

Preview Lab

Preview with #2F987E

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

Preview Lab → · Contrast checker → · Palette generator →

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