#1F7972#1F7972

#1F7972 is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.3% C 0.082 H 187.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#1F7972
RGBrgb(31, 121, 114)
HSLhsl(175, 59%, 30%)
HSVhsv(175, 74%, 47%)
CMYKcmyk(74.4%, 0%, 5.8%, 52.5%)
CIE-LABlab(45.88, -27.28, -3.68)
CIE-LCHlch(45.88, 27.53, 187.68°)
OKLaboklab(52.34% -0.0814 -0.0104)
OKLCHoklch(52.34% 0.082 187.3)
XYZxyz(10.4383, 15.1797, 18.2962)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7972 #791F26
analogous
#1F7945 #1F7972 #1F5379
triadic
#1F7972 #721F79 #79721F
tetradic
#1F7972 #451F79 #791F26 #53791F
square
#1F7972 #451F79 #791F26 #53791F
split-complementary
#1F7972 #791F53 #79451F
monochromatic
#061817 #134844 #1F7972 #2BAAA0 #43CFC4

Accessibility & contrast

On white

5.20
#1F7972 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#1F7972 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7972
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7972#FFFFFF#000000##FFFFFF
##1F79721.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#727272
Deuteranopia (green-blind)
#656973
Tritanopia (blue-blind)
#007C77
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f7972;
/* rgb */ color: rgb(31, 121, 114);
/* oklch */ color: oklch(52.3% 0.082 187.3);
Tailwind
colors: {
  custom: {
    50: '#6aa09a',
    500: '#1f7972',
    950: '#000000',
  },
}
SCSS
$custom: #1f7972;
$custom-light: #6aa09a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7972",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 114
  },
  "hsl": {
    "h": 175.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5234,
    "c": 0.08207,
    "h": 187.3
  },
  "luminance": 0.15181
}

Semantic roles & 50–950 ramp

primary
#1F7972
secondary
#AC474F
accent
#4552E2
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070F0E
muted
#7A7E7E

Preview Lab

Preview with #1F7972

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

Preview Lab → · Contrast checker → · Palette generator →

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