#1F7D7D#1F7D7D

#1F7D7D is a mid, moderate teal. Relative luminance 0.164; OKLCH L 53.8% C 0.083 H 195.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#1F7D7D
RGBrgb(31, 125, 125)
HSLhsl(180, 60%, 31%)
HSVhsv(180, 75%, 49%)
CMYKcmyk(75.2%, 0%, 0%, 51%)
CIE-LABlab(47.54, -25.89, -7.73)
CIE-LCHlch(47.54, 27.02, 196.62°)
OKLaboklab(53.81% -0.0804 -0.0215)
OKLCHoklch(53.81% 0.083 195)
XYZxyz(11.5987, 16.4378, 21.9596)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7D7D #7D1F1F
analogous
#1F7D4E #1F7D7D #1F4E7D
triadic
#1F7D7D #7D1F7D #7D7D1F
tetradic
#1F7D7D #4E1F7D #7D1F1F #4E7D1F
square
#1F7D7D #4E1F7D #7D1F1F #4E7D1F
split-complementary
#1F7D7D #7D1F4E #7D4E1F
monochromatic
#071B1B #134C4C #1F7D7D #2BAEAE #45D1D1

Accessibility & contrast

On white

4.90
#1F7D7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#1F7D7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7D7D
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7D7D#FFFFFF#000000##FFFFFF
##1F7D7D1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74777D
Deuteranopia (green-blind)
#676D7E
Tritanopia (blue-blind)
#00817D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f7d7d;
/* rgb */ color: rgb(31, 125, 125);
/* oklch */ color: oklch(53.8% 0.083 195.0);
Tailwind
colors: {
  custom: {
    50: '#6ca3a2',
    500: '#1f7d7d',
    950: '#000000',
  },
}
SCSS
$custom: #1f7d7d;
$custom-light: #6ca3a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7d7d",
  "rgb": {
    "r": 31,
    "g": 125,
    "b": 125
  },
  "hsl": {
    "h": 180,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53809,
    "c": 0.08324,
    "h": 195
  },
  "luminance": 0.16439
}

Semantic roles & 50–950 ramp

primary
#1F7D7D
secondary
#B04848
accent
#4444E3
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0F
muted
#7B7F7E

Preview Lab

Preview with #1F7D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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