#1F978C#1F978C

#1F978C is a mid, moderate teal. Relative luminance 0.243; OKLCH L 61.2% C 0.101 H 185.4°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#1F978C
RGBrgb(31, 151, 140)
HSLhsl(175, 66%, 36%)
HSVhsv(175, 79%, 59%)
CMYKcmyk(79.5%, 0%, 7.3%, 40.8%)
CIE-LABlab(56.40, -33.93, -3.31)
CIE-LCHlch(56.40, 34.09, 185.57°)
OKLaboklab(61.17% -0.1003 -0.0095)
OKLCHoklch(61.17% 0.101 185.4)
XYZxyz(16.3630, 24.3159, 28.6369)
Luminance0.2432 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F978C #971F2A
analogous
#1F9750 #1F978C #1F6697
triadic
#1F978C #8C1F97 #978C1F
tetradic
#1F978C #501F97 #971F2A #66971F
square
#1F978C #501F97 #971F2A #66971F
split-complementary
#1F978C #971F66 #97501F
monochromatic
#0A312E #15645D #1F978C #29CABB #54DCD0

Accessibility & contrast

On white

3.58
#1F978C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#1F978C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F978C
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F978C#FFFFFF#000000##000000
##1F978C1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8E8C
Deuteranopia (green-blind)
#7F828D
Tritanopia (blue-blind)
#009B93
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #1f978c;
/* rgb */ color: rgb(31, 151, 140);
/* oklch */ color: oklch(61.2% 0.101 185.4);
Tailwind
colors: {
  custom: {
    50: '#71b6ad',
    500: '#1f978c',
    950: '#000000',
  },
}
SCSS
$custom: #1f978c;
$custom-light: #71b6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1f978c",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 140
  },
  "hsl": {
    "h": 174.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61173,
    "c": 0.10077,
    "h": 185.4
  },
  "luminance": 0.24318
}

Semantic roles & 50–950 ramp

primary
#1F978C
secondary
#BF525C
accent
#3F4FE9
background
#F7FBFA
surface
#EDF6F4
border
#C8D0CE
text
#091110
muted
#7B807F

Preview Lab

Preview with #1F978C

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

Preview Lab → · Contrast checker → · Palette generator →

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