#1F7970#1F7970

#1F7970 is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.3% C 0.083 H 185.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#1F7970
RGBrgb(31, 121, 112)
HSLhsl(174, 59%, 30%)
HSVhsv(174, 74%, 47%)
CMYKcmyk(74.4%, 0%, 7.4%, 52.5%)
CIE-LABlab(45.82, -27.88, -2.58)
CIE-LCHlch(45.82, 28.00, 185.28°)
OKLaboklab(52.27% -0.0824 -0.0074)
OKLCHoklch(52.27% 0.083 185.1)
XYZxyz(10.3257, 15.1347, 17.7032)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7970 #791F28
analogous
#1F7943 #1F7970 #1F5579
triadic
#1F7970 #701F79 #79701F
tetradic
#1F7970 #431F79 #791F28 #55791F
square
#1F7970 #431F79 #791F28 #55791F
split-complementary
#1F7970 #791F55 #79431F
monochromatic
#061817 #134843 #1F7970 #2BAA9D #43CFC1

Accessibility & contrast

On white

5.21
#1F7970 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#1F7970 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7970
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7970#FFFFFF#000000##FFFFFF
##1F79701.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737270
Deuteranopia (green-blind)
#666971
Tritanopia (blue-blind)
#007C76
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1f7970;
/* rgb */ color: rgb(31, 121, 112);
/* oklch */ color: oklch(52.3% 0.083 185.1);
Tailwind
colors: {
  custom: {
    50: '#6aa099',
    500: '#1f7970',
    950: '#000000',
  },
}
SCSS
$custom: #1f7970;
$custom-light: #6aa099;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7970",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 112
  },
  "hsl": {
    "h": 174,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5227,
    "c": 0.08272,
    "h": 185.1
  },
  "luminance": 0.15136
}

Semantic roles & 50–950 ramp

primary
#1F7970
secondary
#AC4751
accent
#4555E2
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070F0D
muted
#7A7E7E

Preview Lab

Preview with #1F7970

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

Preview Lab → · Contrast checker → · Palette generator →

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