#1F978B#1F978B

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

Color values

HEX#1F978B
RGBrgb(31, 151, 139)
HSLhsl(174, 66%, 36%)
HSVhsv(174, 79%, 59%)
CMYKcmyk(79.5%, 0%, 7.9%, 40.8%)
CIE-LABlab(56.37, -34.22, -2.78)
CIE-LCHlch(56.37, 34.33, 184.64°)
OKLaboklab(61.14% -0.1008 -0.0081)
OKLCHoklch(61.14% 0.101 184.6)
XYZxyz(16.2896, 24.2866, 28.2503)
Luminance0.2429 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F978B #971F2B
analogous
#1F974F #1F978B #1F6797
triadic
#1F978B #8B1F97 #978B1F
tetradic
#1F978B #4F1F97 #971F2B #67971F
square
#1F978B #4F1F97 #971F2B #67971F
split-complementary
#1F978B #971F67 #974F1F
monochromatic
#0A312E #15645C #1F978B #29CABA #54DCCE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F978B#FFFFFF#000000##000000
##1F978B1.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)
#8F8E8B
Deuteranopia (green-blind)
#7F828C
Tritanopia (blue-blind)
#009A93
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #1f978b;
/* rgb */ color: rgb(31, 151, 139);
/* oklch */ color: oklch(61.1% 0.101 184.6);
Tailwind
colors: {
  custom: {
    50: '#71b6ac',
    500: '#1f978b',
    950: '#000000',
  },
}
SCSS
$custom: #1f978b;
$custom-light: #71b6ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1f978b",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 139
  },
  "hsl": {
    "h": 174,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.6114,
    "c": 0.10112,
    "h": 184.6
  },
  "luminance": 0.24289
}

Semantic roles & 50–950 ramp

primary
#1F978B
secondary
#BF525D
accent
#3F50E9
background
#F7FBFA
surface
#EDF6F4
border
#C8D0CE
text
#091110
muted
#7B807F

Preview Lab

Preview with #1F978B

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

Preview Lab → · Contrast checker → · Palette generator →

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