#1F7B72#1F7B72

#1F7B72 is a mid, moderate teal. Relative luminance 0.157; OKLCH L 52.9% C 0.084 H 185.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#1F7B72
RGBrgb(31, 123, 114)
HSLhsl(174, 60%, 30%)
HSVhsv(174, 75%, 48%)
CMYKcmyk(74.8%, 0%, 7.3%, 51.8%)
CIE-LABlab(46.54, -28.26, -2.70)
CIE-LCHlch(46.54, 28.39, 185.46°)
OKLaboklab(52.88% -0.0836 -0.0078)
OKLCHoklch(52.88% 0.084 185.3)
XYZxyz(10.6838, 15.6709, 18.3780)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7B72 #7B1F28
analogous
#1F7B44 #1F7B72 #1F567B
triadic
#1F7B72 #721F7B #7B721F
tetradic
#1F7B72 #441F7B #7B1F28 #567B1F
square
#1F7B72 #441F7B #7B1F28 #567B1F
split-complementary
#1F7B72 #7B1F56 #7B441F
monochromatic
#061917 #134A45 #1F7B72 #2BAC9F #44D0C2

Accessibility & contrast

On white

5.08
#1F7B72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#1F7B72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7B72
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7B72#FFFFFF#000000##FFFFFF
##1F7B721.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747472
Deuteranopia (green-blind)
#686A73
Tritanopia (blue-blind)
#007E78
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f7b72;
/* rgb */ color: rgb(31, 123, 114);
/* oklch */ color: oklch(52.9% 0.084 185.3);
Tailwind
colors: {
  custom: {
    50: '#6aa19a',
    500: '#1f7b72',
    950: '#000000',
  },
}
SCSS
$custom: #1f7b72;
$custom-light: #6aa19a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7b72",
  "rgb": {
    "r": 31,
    "g": 123,
    "b": 114
  },
  "hsl": {
    "h": 174.13,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52877,
    "c": 0.08394,
    "h": 185.3
  },
  "luminance": 0.15672
}

Semantic roles & 50–950 ramp

primary
#1F7B72
secondary
#AE4852
accent
#4554E3
background
#F6FAF9
surface
#ECF3F2
border
#C7CDCC
text
#070F0E
muted
#7A7F7E

Preview Lab

Preview with #1F7B72

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

Preview Lab → · Contrast checker → · Palette generator →

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