#1F7C79#1F7C79

#1F7C79 is a mid, moderate teal. Relative luminance 0.161; OKLCH L 53.4% C 0.083 H 191.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#1F7C79
RGBrgb(31, 124, 121)
HSLhsl(178, 60%, 30%)
HSVhsv(178, 75%, 49%)
CMYKcmyk(75%, 0%, 2.4%, 51.4%)
CIE-LABlab(47.09, -26.63, -6.04)
CIE-LCHlch(47.09, 27.31, 192.78°)
OKLaboklab(53.4% -0.0812 -0.0169)
OKLCHoklch(53.4% 0.083 191.7)
XYZxyz(11.2223, 16.0857, 20.5989)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7C79 #7C1F22
analogous
#1F7C4B #1F7C79 #1F507C
triadic
#1F7C79 #791F7C #7C791F
tetradic
#1F7C79 #4B1F7C #7C1F22 #507C1F
square
#1F7C79 #4B1F7C #7C1F22 #507C1F
split-complementary
#1F7C79 #7C1F50 #7C4B1F
monochromatic
#071A19 #134B49 #1F7C79 #2BADA9 #45D0CC

Accessibility & contrast

On white

4.98
#1F7C79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#1F7C79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7C79
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7C79#FFFFFF#000000##FFFFFF
##1F7C791.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747579
Deuteranopia (green-blind)
#676B7A
Tritanopia (blue-blind)
#00807B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1f7c79;
/* rgb */ color: rgb(31, 124, 121);
/* oklch */ color: oklch(53.4% 0.083 191.7);
Tailwind
colors: {
  custom: {
    50: '#6ba29f',
    500: '#1f7c79',
    950: '#000000',
  },
}
SCSS
$custom: #1f7c79;
$custom-light: #6ba29f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7c79",
  "rgb": {
    "r": 31,
    "g": 124,
    "b": 121
  },
  "hsl": {
    "h": 178.065,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53395,
    "c": 0.08298,
    "h": 191.7
  },
  "luminance": 0.16087
}

Semantic roles & 50–950 ramp

primary
#1F7C79
secondary
#AF484B
accent
#454AE3
background
#F6FAF9
surface
#ECF3F2
border
#C7CDCC
text
#080F0E
muted
#7A7F7E

Preview Lab

Preview with #1F7C79

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

Preview Lab → · Contrast checker → · Palette generator →

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