#1F987B#1F987B

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

Color values

HEX#1F987B
RGBrgb(31, 152, 123)
HSLhsl(166, 66%, 36%)
HSVhsv(166, 80%, 60%)
CMYKcmyk(79.6%, 0%, 19.1%, 40.4%)
CIE-LABlab(56.26, -39.10, 6.19)
CIE-LCHlch(56.26, 39.58, 171.00°)
OKLaboklab(60.91% -0.1096 0.0157)
OKLCHoklch(60.91% 0.111 171.8)
XYZxyz(15.3666, 24.1759, 22.5916)
Luminance0.2418 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F987B #981F3C
analogous
#1F983E #1F987B #1F7898
triadic
#1F987B #7B1F98 #987B1F
tetradic
#1F987B #3E1F98 #981F3C #78981F
square
#1F987B #3E1F98 #981F3C #78981F
split-complementary
#1F987B #981F78 #983E1F
monochromatic
#0A3229 #156552 #1F987B #29CBA4 #55DCBC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F987B#FFFFFF#000000##000000
##1F987B1.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)
#938D7A
Deuteranopia (green-blind)
#84827D
Tritanopia (blue-blind)
#009990
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #1f987b;
/* rgb */ color: rgb(31, 152, 123);
/* oklch */ color: oklch(60.9% 0.111 171.8);
Tailwind
colors: {
  custom: {
    50: '#70b7a1',
    500: '#1f987b',
    950: '#000000',
  },
}
SCSS
$custom: #1f987b;
$custom-light: #70b7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f987b",
  "rgb": {
    "r": 31,
    "g": 152,
    "b": 123
  },
  "hsl": {
    "h": 165.62,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60907,
    "c": 0.11073,
    "h": 171.8
  },
  "luminance": 0.24178
}

Semantic roles & 50–950 ramp

primary
#1F987B
secondary
#C0536D
accent
#3F68E9
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #1F987B

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

Preview Lab → · Contrast checker → · Palette generator →

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