#1F977D#1F977D

#1F977D is a mid, moderate teal. Relative luminance 0.239; OKLCH L 60.7% C 0.108 H 173.8°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#1F977D
RGBrgb(31, 151, 125)
HSLhsl(167, 66%, 36%)
HSVhsv(167, 79%, 59%)
CMYKcmyk(79.5%, 0%, 17.2%, 40.8%)
CIE-LABlab(55.99, -38.13, 4.66)
CIE-LCHlch(55.99, 38.41, 173.03°)
OKLaboklab(60.7% -0.1076 0.0117)
OKLCHoklch(60.7% 0.108 173.8)
XYZxyz(15.3314, 23.9033, 23.2038)
Luminance0.2391 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F977D #971F39
analogous
#1F9741 #1F977D #1F7597
triadic
#1F977D #7D1F97 #977D1F
tetradic
#1F977D #411F97 #971F39 #75971F
square
#1F977D #411F97 #971F39 #75971F
split-complementary
#1F977D #971F75 #97411F
monochromatic
#0A3129 #156453 #1F977D #29CAA7 #54DCBF

Accessibility & contrast

On white

3.63
#1F977D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#1F977D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F977D
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F977D#FFFFFF#000000##000000
##1F977D1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928D7C
Deuteranopia (green-blind)
#82827F
Tritanopia (blue-blind)
#00998F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #1f977d;
/* rgb */ color: rgb(31, 151, 125);
/* oklch */ color: oklch(60.7% 0.108 173.8);
Tailwind
colors: {
  custom: {
    50: '#70b6a2',
    500: '#1f977d',
    950: '#000000',
  },
}
SCSS
$custom: #1f977d;
$custom-light: #70b6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f977d",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 125
  },
  "hsl": {
    "h": 167,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.607,
    "c": 0.10824,
    "h": 173.8
  },
  "luminance": 0.23905
}

Semantic roles & 50–950 ramp

primary
#1F977D
secondary
#BF526A
accent
#3F64E9
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110F
muted
#7B807E

Preview Lab

Preview with #1F977D

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

Preview Lab → · Contrast checker → · Palette generator →

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