#1F7971#1F7971

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

Color values

HEX#1F7971
RGBrgb(31, 121, 113)
HSLhsl(175, 59%, 30%)
HSVhsv(175, 74%, 47%)
CMYKcmyk(74.4%, 0%, 6.6%, 52.5%)
CIE-LABlab(45.85, -27.58, -3.13)
CIE-LCHlch(45.85, 27.76, 186.47°)
OKLaboklab(52.31% -0.0819 -0.0089)
OKLCHoklch(52.31% 0.082 186.2)
XYZxyz(10.3817, 15.1571, 17.9980)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7971 #791F27
analogous
#1F7944 #1F7971 #1F5479
triadic
#1F7971 #711F79 #79711F
tetradic
#1F7971 #441F79 #791F27 #54791F
square
#1F7971 #441F79 #791F27 #54791F
split-complementary
#1F7971 #791F54 #79441F
monochromatic
#061817 #134844 #1F7971 #2BAA9E #43CFC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F7971#FFFFFF#000000##FFFFFF
##1F79711.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)
#727271
Deuteranopia (green-blind)
#666972
Tritanopia (blue-blind)
#007C76
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f7971;
/* rgb */ color: rgb(31, 121, 113);
/* oklch */ color: oklch(52.3% 0.082 186.2);
Tailwind
colors: {
  custom: {
    50: '#6aa099',
    500: '#1f7971',
    950: '#000000',
  },
}
SCSS
$custom: #1f7971;
$custom-light: #6aa099;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7971",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 113
  },
  "hsl": {
    "h": 174.667,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52305,
    "c": 0.08238,
    "h": 186.2
  },
  "luminance": 0.15158
}

Semantic roles & 50–950 ramp

primary
#1F7971
secondary
#AC4750
accent
#4553E2
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070F0E
muted
#7A7E7E

Preview Lab

Preview with #1F7971

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

Preview Lab → · Contrast checker → · Palette generator →

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