#1F7C72#1F7C72

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

Color values

HEX#1F7C72
RGBrgb(31, 124, 114)
HSLhsl(174, 60%, 30%)
HSVhsv(174, 75%, 49%)
CMYKcmyk(75%, 0%, 8.1%, 51.4%)
CIE-LABlab(46.87, -28.75, -2.22)
CIE-LCHlch(46.87, 28.84, 184.41°)
OKLaboklab(53.15% -0.0847 -0.0064)
OKLCHoklch(53.15% 0.085 184.4)
XYZxyz(10.8085, 15.9202, 18.4196)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7C72 #7C1F29
analogous
#1F7C43 #1F7C72 #1F587C
triadic
#1F7C72 #721F7C #7C721F
tetradic
#1F7C72 #431F7C #7C1F29 #587C1F
square
#1F7C72 #431F7C #7C1F29 #587C1F
split-complementary
#1F7C72 #7C1F58 #7C431F
monochromatic
#071A18 #134B45 #1F7C72 #2BAD9F #45D0C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F7C72#FFFFFF#000000##FFFFFF
##1F7C721.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)
#767572
Deuteranopia (green-blind)
#696B73
Tritanopia (blue-blind)
#007F79
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f7c72;
/* rgb */ color: rgb(31, 124, 114);
/* oklch */ color: oklch(53.1% 0.085 184.4);
Tailwind
colors: {
  custom: {
    50: '#6ba29a',
    500: '#1f7c72',
    950: '#000000',
  },
}
SCSS
$custom: #1f7c72;
$custom-light: #6ba29a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7c72",
  "rgb": {
    "r": 31,
    "g": 124,
    "b": 114
  },
  "hsl": {
    "h": 173.548,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53146,
    "c": 0.08491,
    "h": 184.4
  },
  "luminance": 0.15922
}

Semantic roles & 50–950 ramp

primary
#1F7C72
secondary
#AF4853
accent
#4556E3
background
#F6FAF9
surface
#ECF3F2
border
#C7CDCC
text
#070F0E
muted
#7A7F7E

Preview Lab

Preview with #1F7C72

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

Preview Lab → · Contrast checker → · Palette generator →

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