#1F7A6D#1F7A6D

#1F7A6D is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.4% C 0.085 H 181.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#1F7A6D
RGBrgb(31, 122, 109)
HSLhsl(171, 59%, 30%)
HSVhsv(171, 75%, 48%)
CMYKcmyk(74.6%, 0%, 10.7%, 52.2%)
CIE-LABlab(46.06, -29.25, -0.44)
CIE-LCHlch(46.06, 29.25, 180.86°)
OKLaboklab(52.44% -0.085 -0.0017)
OKLCHoklch(52.44% 0.085 181.1)
XYZxyz(10.2836, 15.3133, 16.8788)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7A6D #7A1F2C
analogous
#1F7A40 #1F7A6D #1F597A
triadic
#1F7A6D #6D1F7A #7A6D1F
tetradic
#1F7A6D #401F7A #7A1F2C #597A1F
square
#1F7A6D #401F7A #7A1F2C #597A1F
split-complementary
#1F7A6D #7A1F59 #7A401F
monochromatic
#061816 #134941 #1F7A6D #2BAB99 #44CFBC

Accessibility & contrast

On white

5.17
#1F7A6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#1F7A6D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7A6D
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7A6D#FFFFFF#000000##FFFFFF
##1F7A6D1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74726D
Deuteranopia (green-blind)
#68696E
Tritanopia (blue-blind)
#007C76
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f7a6d;
/* rgb */ color: rgb(31, 122, 109);
/* oklch */ color: oklch(52.4% 0.085 181.1);
Tailwind
colors: {
  custom: {
    50: '#6aa196',
    500: '#1f7a6d',
    950: '#000000',
  },
}
SCSS
$custom: #1f7a6d;
$custom-light: #6aa196;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7a6d",
  "rgb": {
    "r": 31,
    "g": 122,
    "b": 109
  },
  "hsl": {
    "h": 171.429,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.52438,
    "c": 0.08499,
    "h": 181.1
  },
  "luminance": 0.15315
}

Semantic roles & 50–950 ramp

primary
#1F7A6D
secondary
#AD4756
accent
#455CE3
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070F0D
muted
#7A7E7E

Preview Lab

Preview with #1F7A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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