#1F7C71#1F7C71

#1F7C71 is a mid, moderate teal. Relative luminance 0.159; OKLCH L 53.1% C 0.085 H 183.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#1F7C71
RGBrgb(31, 124, 113)
HSLhsl(173, 60%, 30%)
HSVhsv(173, 75%, 49%)
CMYKcmyk(75%, 0%, 8.9%, 51.4%)
CIE-LABlab(46.84, -29.05, -1.67)
CIE-LCHlch(46.84, 29.09, 183.29°)
OKLaboklab(53.11% -0.0851 -0.005)
OKLCHoklch(53.11% 0.085 183.3)
XYZxyz(10.7519, 15.8976, 18.1215)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7C71 #7C1F2A
analogous
#1F7C42 #1F7C71 #1F587C
triadic
#1F7C71 #711F7C #7C711F
tetradic
#1F7C71 #421F7C #7C1F2A #587C1F
square
#1F7C71 #421F7C #7C1F2A #587C1F
split-complementary
#1F7C71 #7C1F58 #7C421F
monochromatic
#071A18 #134B44 #1F7C71 #2BAD9E #45D0C0

Accessibility & contrast

On white

5.02
#1F7C71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#1F7C71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7C71
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7C71#FFFFFF#000000##FFFFFF
##1F7C711.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#767571
Deuteranopia (green-blind)
#696B72
Tritanopia (blue-blind)
#007F79
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f7c71;
/* rgb */ color: rgb(31, 124, 113);
/* oklch */ color: oklch(53.1% 0.085 183.3);
Tailwind
colors: {
  custom: {
    50: '#6ba299',
    500: '#1f7c71',
    950: '#000000',
  },
}
SCSS
$custom: #1f7c71;
$custom-light: #6ba299;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7c71",
  "rgb": {
    "r": 31,
    "g": 124,
    "b": 113
  },
  "hsl": {
    "h": 172.903,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53112,
    "c": 0.08529,
    "h": 183.3
  },
  "luminance": 0.15899
}

Semantic roles & 50–950 ramp

primary
#1F7C71
secondary
#AF4854
accent
#4557E3
background
#F6FAF9
surface
#ECF3F2
border
#C7CDCC
text
#070F0E
muted
#7A7F7E

Preview Lab

Preview with #1F7C71

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

Preview Lab → · Contrast checker → · Palette generator →

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