#1F8D87#1F8D87

#1F8D87 is a mid, moderate teal. Relative luminance 0.211; OKLCH L 58.4% C 0.094 H 189.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#1F8D87
RGBrgb(31, 141, 135)
HSLhsl(177, 64%, 34%)
HSVhsv(177, 78%, 55%)
CMYKcmyk(78%, 0%, 4.3%, 44.7%)
CIE-LABlab(53.05, -30.69, -5.39)
CIE-LCHlch(53.05, 31.16, 189.97°)
OKLaboklab(58.39% -0.0925 -0.0151)
OKLCHoklch(58.39% 0.094 189.3)
XYZxyz(14.4611, 21.0885, 26.2253)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D87 #8D1F25
analogous
#1F8D50 #1F8D87 #1F5C8D
triadic
#1F8D87 #871F8D #8D871F
tetradic
#1F8D87 #501F8D #8D1F25 #5C8D1F
square
#1F8D87 #501F8D #8D1F25 #5C8D1F
split-complementary
#1F8D87 #8D1F5C #8D501F
monochromatic
#092927 #145B57 #1F8D87 #2ABFB7 #4ED8D1

Accessibility & contrast

On white

4.02
#1F8D87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#1F8D87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8D87
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8D87#FFFFFF#000000##000000
##1F8D871.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#858587
Deuteranopia (green-blind)
#757A88
Tritanopia (blue-blind)
#00918B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #1f8d87;
/* rgb */ color: rgb(31, 141, 135);
/* oklch */ color: oklch(58.4% 0.094 189.3);
Tailwind
colors: {
  custom: {
    50: '#6fafa9',
    500: '#1f8d87',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d87;
$custom-light: #6fafa9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d87",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 135
  },
  "hsl": {
    "h": 176.727,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58389,
    "c": 0.09369,
    "h": 189.3
  },
  "luminance": 0.2109
}

Semantic roles & 50–950 ramp

primary
#1F8D87
secondary
#BB4D53
accent
#414AE7
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #1F8D87

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

Preview Lab → · Contrast checker → · Palette generator →

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