#1F978A#1F978A

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

Color values

HEX#1F978A
RGBrgb(31, 151, 138)
HSLhsl(174, 66%, 36%)
HSVhsv(174, 79%, 59%)
CMYKcmyk(79.5%, 0%, 8.6%, 40.8%)
CIE-LABlab(56.34, -34.51, -2.25)
CIE-LCHlch(56.34, 34.58, 183.73°)
OKLaboklab(61.11% -0.1013 -0.0066)
OKLCHoklch(61.11% 0.102 183.8)
XYZxyz(16.2169, 24.2575, 27.8673)
Luminance0.2426 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F978A #971F2C
analogous
#1F974E #1F978A #1F6897
triadic
#1F978A #8A1F97 #978A1F
tetradic
#1F978A #4E1F97 #971F2C #68971F
square
#1F978A #4E1F97 #971F2C #68971F
split-complementary
#1F978A #971F68 #974E1F
monochromatic
#0A312D #15645C #1F978A #29CAB8 #54DCCD

Accessibility & contrast

On white

3.59
#1F978A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#1F978A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F978A
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F978A#FFFFFF#000000##000000
##1F978A1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8E8A
Deuteranopia (green-blind)
#7F828B
Tritanopia (blue-blind)
#009A93
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #1f978a;
/* rgb */ color: rgb(31, 151, 138);
/* oklch */ color: oklch(61.1% 0.102 183.8);
Tailwind
colors: {
  custom: {
    50: '#71b6ac',
    500: '#1f978a',
    950: '#000000',
  },
}
SCSS
$custom: #1f978a;
$custom-light: #71b6ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1f978a",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 138
  },
  "hsl": {
    "h": 173.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61107,
    "c": 0.1015,
    "h": 183.8
  },
  "luminance": 0.2426
}

Semantic roles & 50–950 ramp

primary
#1F978A
secondary
#BF525E
accent
#3F51E9
background
#F7FBFA
surface
#EDF6F4
border
#C8D0CE
text
#091110
muted
#7B807F

Preview Lab

Preview with #1F978A

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

Preview Lab → · Contrast checker → · Palette generator →

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