#1F987E#1F987E

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

Color values

HEX#1F987E
RGBrgb(31, 152, 126)
HSLhsl(167, 66%, 36%)
HSVhsv(167, 80%, 60%)
CMYKcmyk(79.6%, 0%, 17.1%, 40.4%)
CIE-LABlab(56.34, -38.30, 4.59)
CIE-LCHlch(56.34, 38.58, 173.16°)
OKLaboklab(60.99% -0.1081 0.0116)
OKLCHoklch(60.99% 0.109 173.9)
XYZxyz(15.5572, 24.2522, 23.5958)
Luminance0.2425 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F987E #981F39
analogous
#1F9841 #1F987E #1F7598
triadic
#1F987E #7E1F98 #987E1F
tetradic
#1F987E #411F98 #981F39 #75981F
square
#1F987E #411F98 #981F39 #75981F
split-complementary
#1F987E #981F75 #98411F
monochromatic
#0A322A #156554 #1F987E #29CBA8 #55DCBF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F987E#FFFFFF#000000##000000
##1F987E1.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)
#938E7D
Deuteranopia (green-blind)
#838280
Tritanopia (blue-blind)
#009A90
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #1f987e;
/* rgb */ color: rgb(31, 152, 126);
/* oklch */ color: oklch(61.0% 0.109 173.9);
Tailwind
colors: {
  custom: {
    50: '#71b7a3',
    500: '#1f987e',
    950: '#000000',
  },
}
SCSS
$custom: #1f987e;
$custom-light: #71b7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f987e",
  "rgb": {
    "r": 31,
    "g": 152,
    "b": 126
  },
  "hsl": {
    "h": 167.107,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60994,
    "c": 0.10875,
    "h": 173.9
  },
  "luminance": 0.24254
}

Semantic roles & 50–950 ramp

primary
#1F987E
secondary
#C0536A
accent
#3F63E9
background
#F7FBFA
surface
#EDF6F3
border
#C8D0CD
text
#09110F
muted
#7B807F

Preview Lab

Preview with #1F987E

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

Preview Lab → · Contrast checker → · Palette generator →

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