#1F7C7A#1F7C7A

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

Color values

HEX#1F7C7A
RGBrgb(31, 124, 122)
HSLhsl(179, 60%, 30%)
HSVhsv(179, 75%, 49%)
CMYKcmyk(75%, 0%, 1.6%, 51.4%)
CIE-LABlab(47.12, -26.32, -6.59)
CIE-LCHlch(47.12, 27.14, 194.05°)
OKLaboklab(53.43% -0.0808 -0.0184)
OKLCHoklch(53.43% 0.083 192.8)
XYZxyz(11.2840, 16.1104, 20.9235)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7C7A #7C1F21
analogous
#1F7C4C #1F7C7A #1F4F7C
triadic
#1F7C7A #7A1F7C #7C7A1F
tetradic
#1F7C7A #4C1F7C #7C1F21 #4F7C1F
square
#1F7C7A #4C1F7C #7C1F21 #4F7C1F
split-complementary
#1F7C7A #7C1F4F #7C4C1F
monochromatic
#071A1A #134B4A #1F7C7A #2BADAA #45D0CD

Accessibility & contrast

On white

4.97
#1F7C7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F7C7A
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7C7A#FFFFFF#000000##FFFFFF
##1F7C7A1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74757A
Deuteranopia (green-blind)
#666C7B
Tritanopia (blue-blind)
#00807B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1f7c7a;
/* rgb */ color: rgb(31, 124, 122);
/* oklch */ color: oklch(53.4% 0.083 192.8);
Tailwind
colors: {
  custom: {
    50: '#6ba2a0',
    500: '#1f7c7a',
    950: '#000000',
  },
}
SCSS
$custom: #1f7c7a;
$custom-light: #6ba2a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7c7a",
  "rgb": {
    "r": 31,
    "g": 124,
    "b": 122
  },
  "hsl": {
    "h": 178.71,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53432,
    "c": 0.08284,
    "h": 192.8
  },
  "luminance": 0.16112
}

Semantic roles & 50–950 ramp

primary
#1F7C7A
secondary
#AF484A
accent
#4548E3
background
#F6FAF9
surface
#ECF3F2
border
#C7CDCC
text
#080F0E
muted
#7A7F7E

Preview Lab

Preview with #1F7C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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