#1F987C#1F987C

#1F987C is a mid, moderate teal. Relative luminance 0.242; OKLCH L 60.9% C 0.110 H 172.5°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#1F987C
RGBrgb(31, 152, 124)
HSLhsl(166, 66%, 36%)
HSVhsv(166, 80%, 60%)
CMYKcmyk(79.6%, 0%, 18.4%, 40.4%)
CIE-LABlab(56.29, -38.83, 5.66)
CIE-LCHlch(56.29, 39.24, 171.71°)
OKLaboklab(60.94% -0.1091 0.0144)
OKLCHoklch(60.94% 0.11 172.5)
XYZxyz(15.4295, 24.2011, 22.9230)
Luminance0.2420 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F987C #981F3B
analogous
#1F9840 #1F987C #1F7798
triadic
#1F987C #7C1F98 #987C1F
tetradic
#1F987C #401F98 #981F3B #77981F
square
#1F987C #401F98 #981F3B #77981F
split-complementary
#1F987C #981F77 #98401F
monochromatic
#0A3229 #156553 #1F987C #29CBA5 #55DCBD

Accessibility & contrast

On white

3.60
#1F987C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#1F987C on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F987C#FFFFFF#000000##000000
##1F987C1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938E7B
Deuteranopia (green-blind)
#84827E
Tritanopia (blue-blind)
#009A90
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #1f987c;
/* rgb */ color: rgb(31, 152, 124);
/* oklch */ color: oklch(60.9% 0.110 172.5);
Tailwind
colors: {
  custom: {
    50: '#70b7a1',
    500: '#1f987c',
    950: '#000000',
  },
}
SCSS
$custom: #1f987c;
$custom-light: #70b7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f987c",
  "rgb": {
    "r": 31,
    "g": 152,
    "b": 124
  },
  "hsl": {
    "h": 166.116,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60936,
    "c": 0.11006,
    "h": 172.5
  },
  "luminance": 0.24203
}

Semantic roles & 50–950 ramp

primary
#1F987C
secondary
#C0536C
accent
#3F66E9
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110F
muted
#7B807E

Preview Lab

Preview with #1F987C

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

Preview Lab → · Contrast checker → · Palette generator →

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