#1F887A#1F887A

#1F887A is a mid, moderate teal. Relative luminance 0.193; OKLCH L 56.6% C 0.094 H 181.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#1F887A
RGBrgb(31, 136, 122)
HSLhsl(172, 63%, 33%)
HSVhsv(172, 77%, 53%)
CMYKcmyk(77.2%, 0%, 10.3%, 46.7%)
CIE-LABlab(51.04, -32.14, -0.80)
CIE-LCHlch(51.04, 32.15, 181.42°)
OKLaboklab(56.63% -0.0935 -0.0027)
OKLCHoklch(56.63% 0.094 181.6)
XYZxyz(12.8804, 19.3032, 21.4556)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F887A #881F2D
analogous
#1F8845 #1F887A #1F6188
triadic
#1F887A #7A1F88 #887A1F
tetradic
#1F887A #451F88 #881F2D #61881F
square
#1F887A #451F88 #881F2D #61881F
split-complementary
#1F887A #881F61 #88451F
monochromatic
#082421 #14564D #1F887A #2ABAA7 #4BD6C4

Accessibility & contrast

On white

4.32
#1F887A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#1F887A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F887A
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F887A#FFFFFF#000000##000000
##1F887A1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#818079
Deuteranopia (green-blind)
#73757B
Tritanopia (blue-blind)
#008B84
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f887a;
/* rgb */ color: rgb(31, 136, 122);
/* oklch */ color: oklch(56.6% 0.094 181.6);
Tailwind
colors: {
  custom: {
    50: '#6daba0',
    500: '#1f887a',
    950: '#000000',
  },
}
SCSS
$custom: #1f887a;
$custom-light: #6daba0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f887a",
  "rgb": {
    "r": 31,
    "g": 136,
    "b": 122
  },
  "hsl": {
    "h": 172,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56625,
    "c": 0.09356,
    "h": 181.6
  },
  "luminance": 0.19305
}

Semantic roles & 50–950 ramp

primary
#1F887A
secondary
#B94A59
accent
#4258E6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #1F887A

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

Preview Lab → · Contrast checker → · Palette generator →

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