#1F978F#1F978F

#1F978F is a mid, moderate teal. Relative luminance 0.244; OKLCH L 61.3% C 0.100 H 187.9°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#1F978F
RGBrgb(31, 151, 143)
HSLhsl(176, 66%, 36%)
HSVhsv(176, 79%, 59%)
CMYKcmyk(79.5%, 0%, 5.3%, 40.8%)
CIE-LABlab(56.49, -33.05, -4.89)
CIE-LCHlch(56.49, 33.41, 188.42°)
OKLaboklab(61.28% -0.0989 -0.0138)
OKLCHoklch(61.28% 0.1 187.9)
XYZxyz(16.5872, 24.4056, 29.8178)
Luminance0.2441 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F978F #971F27
analogous
#1F9753 #1F978F #1F6397
triadic
#1F978F #8F1F97 #978F1F
tetradic
#1F978F #531F97 #971F27 #63971F
square
#1F978F #531F97 #971F27 #63971F
split-complementary
#1F978F #971F63 #97531F
monochromatic
#0A312F #15645F #1F978F #29CABF #54DCD3

Accessibility & contrast

On white

3.57
#1F978F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#1F978F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F978F
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F978F#FFFFFF#000000##000000
##1F978F1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8E8F
Deuteranopia (green-blind)
#7E8290
Tritanopia (blue-blind)
#009B94
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #1f978f;
/* rgb */ color: rgb(31, 151, 143);
/* oklch */ color: oklch(61.3% 0.100 187.9);
Tailwind
colors: {
  custom: {
    50: '#72b6af',
    500: '#1f978f',
    950: '#000000',
  },
}
SCSS
$custom: #1f978f;
$custom-light: #72b6af;
$custom-dark: #000000;
JSON
{
  "hex": "#1f978f",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 143
  },
  "hsl": {
    "h": 176,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61275,
    "c": 0.09986,
    "h": 187.9
  },
  "luminance": 0.24408
}

Semantic roles & 50–950 ramp

primary
#1F978F
secondary
#BF525A
accent
#3F4AE9
background
#F7FBFA
surface
#EDF6F4
border
#C8D0CE
text
#091110
muted
#7B807F

Preview Lab

Preview with #1F978F

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

Preview Lab → · Contrast checker → · Palette generator →

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