#1F7E7E#1F7E7E

#1F7E7E is a mid, moderate teal. Relative luminance 0.167; OKLCH L 54.1% C 0.084 H 195.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#1F7E7E
RGBrgb(31, 126, 126)
HSLhsl(180, 61%, 31%)
HSVhsv(180, 75%, 49%)
CMYKcmyk(75.4%, 0%, 0%, 50.6%)
CIE-LABlab(47.90, -26.08, -7.78)
CIE-LCHlch(47.90, 27.22, 196.62°)
OKLaboklab(54.11% -0.081 -0.0216)
OKLCHoklch(54.11% 0.084 195)
XYZxyz(11.7901, 16.7180, 22.3401)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7E7E #7E1F1F
analogous
#1F7E4E #1F7E7E #1F4E7E
triadic
#1F7E7E #7E1F7E #7E7E1F
tetradic
#1F7E7E #4E1F7E #7E1F1F #4E7E1F
square
#1F7E7E #4E1F7E #7E1F1F #4E7E1F
split-complementary
#1F7E7E #7E1F4E #7E4E1F
monochromatic
#071C1C #134D4D #1F7E7E #2BAFAF #46D1D1

Accessibility & contrast

On white

4.83
#1F7E7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#1F7E7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7E7E
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7E7E#FFFFFF#000000##FFFFFF
##1F7E7E1.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75787E
Deuteranopia (green-blind)
#686D7F
Tritanopia (blue-blind)
#00827E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f7e7e;
/* rgb */ color: rgb(31, 126, 126);
/* oklch */ color: oklch(54.1% 0.084 195.0);
Tailwind
colors: {
  custom: {
    50: '#6ca4a3',
    500: '#1f7e7e',
    950: '#000000',
  },
}
SCSS
$custom: #1f7e7e;
$custom-light: #6ca4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7e7e",
  "rgb": {
    "r": 31,
    "g": 126,
    "b": 126
  },
  "hsl": {
    "h": 180,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54112,
    "c": 0.08385,
    "h": 195
  },
  "luminance": 0.16719
}

Semantic roles & 50–950 ramp

primary
#1F7E7E
secondary
#B14848
accent
#4444E4
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#080F0F
muted
#7B7F7F

Preview Lab

Preview with #1F7E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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