#1F7E72#1F7E72

#1F7E72 is a mid, moderate teal. Relative luminance 0.164; OKLCH L 53.7% C 0.087 H 182.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#1F7E72
RGBrgb(31, 126, 114)
HSLhsl(172, 61%, 31%)
HSVhsv(172, 75%, 49%)
CMYKcmyk(75.4%, 0%, 9.5%, 50.6%)
CIE-LABlab(47.53, -29.72, -1.25)
CIE-LCHlch(47.53, 29.74, 182.40°)
OKLaboklab(53.68% -0.0868 -0.0038)
OKLCHoklch(53.68% 0.087 182.5)
XYZxyz(11.0617, 16.4266, 18.5040)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7E72 #7E1F2B
analogous
#1F7E42 #1F7E72 #1F5A7E
triadic
#1F7E72 #721F7E #7E721F
tetradic
#1F7E72 #421F7E #7E1F2B #5A7E1F
square
#1F7E72 #421F7E #7E1F2B #5A7E1F
split-complementary
#1F7E72 #7E1F5A #7E421F
monochromatic
#071C19 #134D46 #1F7E72 #2BAF9E #46D1C0

Accessibility & contrast

On white

4.90
#1F7E72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#1F7E72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7E72
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7E72#FFFFFF#000000##FFFFFF
##1F7E721.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787672
Deuteranopia (green-blind)
#6B6D73
Tritanopia (blue-blind)
#00817A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f7e72;
/* rgb */ color: rgb(31, 126, 114);
/* oklch */ color: oklch(53.7% 0.087 182.5);
Tailwind
colors: {
  custom: {
    50: '#6ba49a',
    500: '#1f7e72',
    950: '#000000',
  },
}
SCSS
$custom: #1f7e72;
$custom-light: #6ba49a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7e72",
  "rgb": {
    "r": 31,
    "g": 126,
    "b": 114
  },
  "hsl": {
    "h": 172.421,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53684,
    "c": 0.08691,
    "h": 182.5
  },
  "luminance": 0.16428
}

Semantic roles & 50–950 ramp

primary
#1F7E72
secondary
#B14855
accent
#4458E4
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#080F0E
muted
#7A7F7E

Preview Lab

Preview with #1F7E72

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

Preview Lab → · Contrast checker → · Palette generator →

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