#1F8F7D#1F8F7D

#1F8F7D is a mid, moderate teal. Relative luminance 0.214; OKLCH L 58.6% C 0.099 H 178.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#1F8F7D
RGBrgb(31, 143, 125)
HSLhsl(170, 64%, 34%)
HSVhsv(170, 78%, 56%)
CMYKcmyk(78.3%, 0%, 12.6%, 43.9%)
CIE-LABlab(53.40, -34.54, 0.91)
CIE-LCHlch(53.40, 34.55, 178.49°)
OKLaboklab(58.58% -0.0994 0.0019)
OKLCHoklch(58.58% 0.099 178.9)
XYZxyz(14.0873, 21.4152, 22.7891)
Luminance0.2142 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8F7D #8F1F31
analogous
#1F8F45 #1F8F7D #1F698F
triadic
#1F8F7D #7D1F8F #8F7D1F
tetradic
#1F8F7D #451F8F #8F1F31 #698F1F
square
#1F8F7D #451F8F #8F1F31 #698F1F
split-complementary
#1F8F7D #8F1F69 #8F451F
monochromatic
#092A25 #145D51 #1F8F7D #2AC1A9 #4FD9C3

Accessibility & contrast

On white

3.97
#1F8F7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#1F8F7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8F7D
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8F7D#FFFFFF#000000##000000
##1F8F7D1.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#89867C
Deuteranopia (green-blind)
#7A7B7E
Tritanopia (blue-blind)
#00918A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #1f8f7d;
/* rgb */ color: rgb(31, 143, 125);
/* oklch */ color: oklch(58.6% 0.099 178.9);
Tailwind
colors: {
  custom: {
    50: '#6fb0a2',
    500: '#1f8f7d',
    950: '#000000',
  },
}
SCSS
$custom: #1f8f7d;
$custom-light: #6fb0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8f7d",
  "rgb": {
    "r": 31,
    "g": 143,
    "b": 125
  },
  "hsl": {
    "h": 170.357,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58581,
    "c": 0.09938,
    "h": 178.9
  },
  "luminance": 0.21417
}

Semantic roles & 50–950 ramp

primary
#1F8F7D
secondary
#BC4E60
accent
#405BE7
background
#F7FAF9
surface
#EDF5F2
border
#C8CFCC
text
#08100F
muted
#7B7F7E

Preview Lab

Preview with #1F8F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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