#1F7F72#1F7F72

#1F7F72 is a mid, moderate teal. Relative luminance 0.167; OKLCH L 54.0% C 0.088 H 181.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#1F7F72
RGBrgb(31, 127, 114)
HSLhsl(172, 61%, 31%)
HSVhsv(172, 76%, 50%)
CMYKcmyk(75.6%, 0%, 10.2%, 50.2%)
CIE-LABlab(47.86, -30.20, -0.76)
CIE-LCHlch(47.86, 30.20, 181.45°)
OKLaboklab(53.95% -0.0879 -0.0026)
OKLCHoklch(53.95% 0.088 181.7)
XYZxyz(11.1902, 16.6836, 18.5468)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7F72 #7F1F2C
analogous
#1F7F42 #1F7F72 #1F5C7F
triadic
#1F7F72 #721F7F #7F721F
tetradic
#1F7F72 #421F7F #7F1F2C #5C7F1F
square
#1F7F72 #421F7F #7F1F2C #5C7F1F
split-complementary
#1F7F72 #7F1F5C #7F421F
monochromatic
#071D1A #134E46 #1F7F72 #2BB09E #46D2BF

Accessibility & contrast

On white

4.84
#1F7F72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#1F7F72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7F72
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7F72#FFFFFF#000000##FFFFFF
##1F7F721.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797772
Deuteranopia (green-blind)
#6C6E73
Tritanopia (blue-blind)
#00817B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f7f72;
/* rgb */ color: rgb(31, 127, 114);
/* oklch */ color: oklch(54.0% 0.088 181.7);
Tailwind
colors: {
  custom: {
    50: '#6ba49a',
    500: '#1f7f72',
    950: '#000000',
  },
}
SCSS
$custom: #1f7f72;
$custom-light: #6ba49a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7f72",
  "rgb": {
    "r": 31,
    "g": 127,
    "b": 114
  },
  "hsl": {
    "h": 171.875,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53953,
    "c": 0.08793,
    "h": 181.7
  },
  "luminance": 0.16685
}

Semantic roles & 50–950 ramp

primary
#1F7F72
secondary
#B24856
accent
#445AE4
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#080F0E
muted
#7A7F7E

Preview Lab

Preview with #1F7F72

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

Preview Lab → · Contrast checker → · Palette generator →

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