#1F977A#1F977A

#1F977A is a mid, moderate teal. Relative luminance 0.238; OKLCH L 60.6% C 0.110 H 171.7°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#1F977A
RGBrgb(31, 151, 122)
HSLhsl(166, 66%, 36%)
HSVhsv(166, 79%, 59%)
CMYKcmyk(79.5%, 0%, 19.2%, 40.8%)
CIE-LABlab(55.91, -38.92, 6.26)
CIE-LCHlch(55.91, 39.42, 170.86°)
OKLaboklab(60.61% -0.1091 0.0159)
OKLCHoklch(60.61% 0.11 171.7)
XYZxyz(15.1427, 23.8278, 22.2097)
Luminance0.2383 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F977A #971F3C
analogous
#1F973E #1F977A #1F7897
triadic
#1F977A #7A1F97 #977A1F
tetradic
#1F977A #3E1F97 #971F3C #78971F
square
#1F977A #3E1F97 #971F3C #78971F
split-complementary
#1F977A #971F78 #973E1F
monochromatic
#0A3128 #156451 #1F977A #29CAA3 #54DCBB

Accessibility & contrast

On white

3.64
#1F977A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#1F977A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F977A
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F977A#FFFFFF#000000##000000
##1F977A1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928C79
Deuteranopia (green-blind)
#83817C
Tritanopia (blue-blind)
#00988F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #1f977a;
/* rgb */ color: rgb(31, 151, 122);
/* oklch */ color: oklch(60.6% 0.110 171.7);
Tailwind
colors: {
  custom: {
    50: '#70b6a0',
    500: '#1f977a',
    950: '#000000',
  },
}
SCSS
$custom: #1f977a;
$custom-light: #70b6a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f977a",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 122
  },
  "hsl": {
    "h": 165.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60613,
    "c": 0.11024,
    "h": 171.7
  },
  "luminance": 0.2383
}

Semantic roles & 50–950 ramp

primary
#1F977A
secondary
#BF526D
accent
#3F68E9
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #1F977A

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

Preview Lab → · Contrast checker → · Palette generator →

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