#1F7A72#1F7A72

#1F7A72 is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.6% C 0.083 H 186.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#1F7A72
RGBrgb(31, 122, 114)
HSLhsl(175, 59%, 30%)
HSVhsv(175, 75%, 48%)
CMYKcmyk(74.6%, 0%, 6.6%, 52.2%)
CIE-LABlab(46.21, -27.77, -3.19)
CIE-LCHlch(46.21, 27.95, 186.55°)
OKLaboklab(52.61% -0.0825 -0.0091)
OKLCHoklch(52.61% 0.083 186.3)
XYZxyz(10.5604, 15.4240, 18.3369)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7A72 #7A1F27
analogous
#1F7A44 #1F7A72 #1F557A
triadic
#1F7A72 #721F7A #7A721F
tetradic
#1F7A72 #441F7A #7A1F27 #557A1F
square
#1F7A72 #441F7A #7A1F27 #557A1F
split-complementary
#1F7A72 #7A1F55 #7A441F
monochromatic
#061817 #134944 #1F7A72 #2BABA0 #44CFC3

Accessibility & contrast

On white

5.14
#1F7A72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#1F7A72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7A72
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7A72#FFFFFF#000000##FFFFFF
##1F7A721.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737372
Deuteranopia (green-blind)
#666A73
Tritanopia (blue-blind)
#007D77
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f7a72;
/* rgb */ color: rgb(31, 122, 114);
/* oklch */ color: oklch(52.6% 0.083 186.3);
Tailwind
colors: {
  custom: {
    50: '#6aa19a',
    500: '#1f7a72',
    950: '#000000',
  },
}
SCSS
$custom: #1f7a72;
$custom-light: #6aa19a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7a72",
  "rgb": {
    "r": 31,
    "g": 122,
    "b": 114
  },
  "hsl": {
    "h": 174.725,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.52609,
    "c": 0.08299,
    "h": 186.3
  },
  "luminance": 0.15425
}

Semantic roles & 50–950 ramp

primary
#1F7A72
secondary
#AD4750
accent
#4553E3
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070F0E
muted
#7A7E7E

Preview Lab

Preview with #1F7A72

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

Preview Lab → · Contrast checker → · Palette generator →

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