#1F7D7A#1F7D7A

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

Color values

HEX#1F7D7A
RGBrgb(31, 125, 122)
HSLhsl(178, 60%, 31%)
HSVhsv(178, 75%, 49%)
CMYKcmyk(75.2%, 0%, 2.4%, 51%)
CIE-LABlab(47.45, -26.82, -6.10)
CIE-LCHlch(47.45, 27.51, 192.81°)
OKLaboklab(53.7% -0.0819 -0.017)
OKLCHoklch(53.7% 0.084 191.7)
XYZxyz(11.4099, 16.3623, 20.9655)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7D7A #7D1F22
analogous
#1F7D4B #1F7D7A #1F517D
triadic
#1F7D7A #7A1F7D #7D7A1F
tetradic
#1F7D7A #4B1F7D #7D1F22 #517D1F
square
#1F7D7A #4B1F7D #7D1F22 #517D1F
split-complementary
#1F7D7A #7D1F51 #7D4B1F
monochromatic
#071B1A #134C4A #1F7D7A #2BAEAA #45D1CD

Accessibility & contrast

On white

4.91
#1F7D7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#1F7D7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7D7A
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7D7A#FFFFFF#000000##FFFFFF
##1F7D7A1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75767A
Deuteranopia (green-blind)
#686C7B
Tritanopia (blue-blind)
#00817C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f7d7a;
/* rgb */ color: rgb(31, 125, 122);
/* oklch */ color: oklch(53.7% 0.084 191.7);
Tailwind
colors: {
  custom: {
    50: '#6ca3a0',
    500: '#1f7d7a',
    950: '#000000',
  },
}
SCSS
$custom: #1f7d7a;
$custom-light: #6ca3a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7d7a",
  "rgb": {
    "r": 31,
    "g": 125,
    "b": 122
  },
  "hsl": {
    "h": 178.085,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53698,
    "c": 0.0836,
    "h": 191.7
  },
  "luminance": 0.16364
}

Semantic roles & 50–950 ramp

primary
#1F7D7A
secondary
#B0484B
accent
#4449E3
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#080F0E
muted
#7A7F7E

Preview Lab

Preview with #1F7D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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