#1F987A#1F987A

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

Color values

HEX#1F987A
RGBrgb(31, 152, 122)
HSLhsl(165, 66%, 36%)
HSVhsv(165, 80%, 60%)
CMYKcmyk(79.6%, 0%, 19.7%, 40.4%)
CIE-LABlab(56.24, -39.36, 6.72)
CIE-LCHlch(56.24, 39.93, 170.31°)
OKLaboklab(60.88% -0.1101 0.0171)
OKLCHoklch(60.88% 0.111 171.2)
XYZxyz(15.3043, 24.1510, 22.2636)
Luminance0.2415 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F987A #981F3D
analogous
#1F983D #1F987A #1F7998
triadic
#1F987A #7A1F98 #987A1F
tetradic
#1F987A #3D1F98 #981F3D #79981F
square
#1F987A #3D1F98 #981F3D #79981F
split-complementary
#1F987A #981F79 #983D1F
monochromatic
#0A3228 #156551 #1F987A #29CBA3 #55DCBB

Accessibility & contrast

On white

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

On black

5.83
#1F987A on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F987A#FFFFFF#000000##000000
##1F987A1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938D79
Deuteranopia (green-blind)
#84827C
Tritanopia (blue-blind)
#00998F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #1f987a;
/* rgb */ color: rgb(31, 152, 122);
/* oklch */ color: oklch(60.9% 0.111 171.2);
Tailwind
colors: {
  custom: {
    50: '#70b7a0',
    500: '#1f987a',
    950: '#000000',
  },
}
SCSS
$custom: #1f987a;
$custom-light: #70b7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f987a",
  "rgb": {
    "r": 31,
    "g": 152,
    "b": 122
  },
  "hsl": {
    "h": 165.124,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60878,
    "c": 0.11143,
    "h": 171.2
  },
  "luminance": 0.24153
}

Semantic roles & 50–950 ramp

primary
#1F987A
secondary
#C0536E
accent
#3F69E9
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #1F987A

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

Preview Lab → · Contrast checker → · Palette generator →

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