#1F978D#1F978D

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

Color values

HEX#1F978D
RGBrgb(31, 151, 141)
HSLhsl(175, 66%, 36%)
HSVhsv(175, 79%, 59%)
CMYKcmyk(79.5%, 0%, 6.6%, 40.8%)
CIE-LABlab(56.43, -33.64, -3.84)
CIE-LCHlch(56.43, 33.86, 186.51°)
OKLaboklab(61.21% -0.0998 -0.0109)
OKLCHoklch(61.21% 0.1 186.2)
XYZxyz(16.4371, 24.3456, 29.0270)
Luminance0.2435 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F978D #971F29
analogous
#1F9751 #1F978D #1F6597
triadic
#1F978D #8D1F97 #978D1F
tetradic
#1F978D #511F97 #971F29 #65971F
square
#1F978D #511F97 #971F29 #65971F
split-complementary
#1F978D #971F65 #97511F
monochromatic
#0A312E #15645E #1F978D #29CABC #54DCD1

Accessibility & contrast

On white

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

On black

5.87
#1F978D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F978D
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F978D#FFFFFF#000000##000000
##1F978D1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f978d;
/* rgb */ color: rgb(31, 151, 141);
/* oklch */ color: oklch(61.2% 0.100 186.2);
Tailwind
colors: {
  custom: {
    50: '#72b6ae',
    500: '#1f978d',
    950: '#000000',
  },
}
SCSS
$custom: #1f978d;
$custom-light: #72b6ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1f978d",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 141
  },
  "hsl": {
    "h": 175,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61207,
    "c": 0.10045,
    "h": 186.2
  },
  "luminance": 0.24348
}

Semantic roles & 50–950 ramp

primary
#1F978D
secondary
#BF525B
accent
#3F4DE9
background
#F7FBFA
surface
#EDF6F4
border
#C8D0CE
text
#091110
muted
#7B807F

Preview Lab

Preview with #1F978D

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

Preview Lab → · Contrast checker → · Palette generator →

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