#1F977E#1F977E

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

Color values

HEX#1F977E
RGBrgb(31, 151, 126)
HSLhsl(168, 66%, 36%)
HSVhsv(168, 79%, 59%)
CMYKcmyk(79.5%, 0%, 16.6%, 40.8%)
CIE-LABlab(56.02, -37.86, 4.13)
CIE-LCHlch(56.02, 38.08, 173.78°)
OKLaboklab(60.73% -0.1071 0.0103)
OKLCHoklch(60.73% 0.108 174.5)
XYZxyz(15.3956, 23.9290, 23.5420)
Luminance0.2393 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F977E #971F38
analogous
#1F9742 #1F977E #1F7497
triadic
#1F977E #7E1F97 #977E1F
tetradic
#1F977E #421F97 #971F38 #74971F
square
#1F977E #421F97 #971F38 #74971F
split-complementary
#1F977E #971F74 #97421F
monochromatic
#0A3129 #156454 #1F977E #29CAA8 #54DCC0

Accessibility & contrast

On white

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

On black

5.79
#1F977E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F977E
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F977E#FFFFFF#000000##000000
##1F977E1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918D7D
Deuteranopia (green-blind)
#828280
Tritanopia (blue-blind)
#009990
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #1f977e;
/* rgb */ color: rgb(31, 151, 126);
/* oklch */ color: oklch(60.7% 0.108 174.5);
Tailwind
colors: {
  custom: {
    50: '#70b6a3',
    500: '#1f977e',
    950: '#000000',
  },
}
SCSS
$custom: #1f977e;
$custom-light: #70b6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f977e",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 126
  },
  "hsl": {
    "h": 167.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.6073,
    "c": 0.10761,
    "h": 174.5
  },
  "luminance": 0.23931
}

Semantic roles & 50–950 ramp

primary
#1F977E
secondary
#BF5269
accent
#3F62E9
background
#F7FBFA
surface
#EDF6F3
border
#C8D0CD
text
#09110F
muted
#7B807F

Preview Lab

Preview with #1F977E

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

Preview Lab → · Contrast checker → · Palette generator →

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