#1F987D#1F987D

#1F987D is a mid, moderate teal. Relative luminance 0.242; OKLCH L 61.0% C 0.109 H 173.2°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#1F987D
RGBrgb(31, 152, 125)
HSLhsl(167, 66%, 36%)
HSVhsv(167, 80%, 60%)
CMYKcmyk(79.6%, 0%, 17.8%, 40.4%)
CIE-LABlab(56.31, -38.57, 5.12)
CIE-LCHlch(56.31, 38.91, 172.43°)
OKLaboklab(60.97% -0.1086 0.013)
OKLCHoklch(60.97% 0.109 173.2)
XYZxyz(15.4930, 24.2265, 23.2577)
Luminance0.2423 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F987D #981F3A
analogous
#1F9841 #1F987D #1F7698
triadic
#1F987D #7D1F98 #987D1F
tetradic
#1F987D #411F98 #981F3A #76981F
square
#1F987D #411F98 #981F3A #76981F
split-complementary
#1F987D #981F76 #98411F
monochromatic
#0A3229 #156553 #1F987D #29CBA7 #55DCBE

Accessibility & contrast

On white

3.59
#1F987D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#1F987D on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F987D#FFFFFF#000000##000000
##1F987D1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938E7C
Deuteranopia (green-blind)
#83827F
Tritanopia (blue-blind)
#009A90
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #1f987d;
/* rgb */ color: rgb(31, 152, 125);
/* oklch */ color: oklch(61.0% 0.109 173.2);
Tailwind
colors: {
  custom: {
    50: '#71b7a2',
    500: '#1f987d',
    950: '#000000',
  },
}
SCSS
$custom: #1f987d;
$custom-light: #71b7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f987d",
  "rgb": {
    "r": 31,
    "g": 152,
    "b": 125
  },
  "hsl": {
    "h": 166.612,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60965,
    "c": 0.1094,
    "h": 173.2
  },
  "luminance": 0.24228
}

Semantic roles & 50–950 ramp

primary
#1F987D
secondary
#C0536B
accent
#3F65E9
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110F
muted
#7B807E

Preview Lab

Preview with #1F987D

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

Preview Lab → · Contrast checker → · Palette generator →

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