#1F977B#1F977B

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

Color values

HEX#1F977B
RGBrgb(31, 151, 123)
HSLhsl(166, 66%, 36%)
HSVhsv(166, 79%, 59%)
CMYKcmyk(79.5%, 0%, 18.5%, 40.8%)
CIE-LABlab(55.94, -38.66, 5.73)
CIE-LCHlch(55.94, 39.08, 171.57°)
OKLaboklab(60.64% -0.1086 0.0145)
OKLCHoklch(60.64% 0.11 172.4)
XYZxyz(15.2049, 23.8527, 22.5377)
Luminance0.2386 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F977B #971F3B
analogous
#1F973F #1F977B #1F7797
triadic
#1F977B #7B1F97 #977B1F
tetradic
#1F977B #3F1F97 #971F3B #77971F
square
#1F977B #3F1F97 #971F3B #77971F
split-complementary
#1F977B #971F77 #973F1F
monochromatic
#0A3128 #156452 #1F977B #29CAA4 #54DCBC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F977B#FFFFFF#000000##000000
##1F977B1.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)
#928D7A
Deuteranopia (green-blind)
#83817D
Tritanopia (blue-blind)
#00988F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #1f977b;
/* rgb */ color: rgb(31, 151, 123);
/* oklch */ color: oklch(60.6% 0.110 172.4);
Tailwind
colors: {
  custom: {
    50: '#70b6a1',
    500: '#1f977b',
    950: '#000000',
  },
}
SCSS
$custom: #1f977b;
$custom-light: #70b6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f977b",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 123
  },
  "hsl": {
    "h": 166,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60642,
    "c": 0.10956,
    "h": 172.4
  },
  "luminance": 0.23855
}

Semantic roles & 50–950 ramp

primary
#1F977B
secondary
#BF526C
accent
#3F67E9
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #1F977B

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

Preview Lab → · Contrast checker → · Palette generator →

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