#1F887C#1F887C

#1F887C is a mid, moderate teal. Relative luminance 0.194; OKLCH L 56.7% C 0.093 H 183.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#1F887C
RGBrgb(31, 136, 124)
HSLhsl(173, 63%, 33%)
HSVhsv(173, 77%, 53%)
CMYKcmyk(77.2%, 0%, 8.8%, 46.7%)
CIE-LABlab(51.10, -31.56, -1.88)
CIE-LCHlch(51.10, 31.62, 183.40°)
OKLaboklab(56.69% -0.0925 -0.0056)
OKLCHoklch(56.69% 0.093 183.5)
XYZxyz(13.0056, 19.3533, 22.1150)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F887C #881F2B
analogous
#1F8848 #1F887C #1F5F88
triadic
#1F887C #7C1F88 #887C1F
tetradic
#1F887C #481F88 #881F2B #5F881F
square
#1F887C #481F88 #881F2B #5F881F
split-complementary
#1F887C #881F5F #88481F
monochromatic
#082421 #14564F #1F887C #2ABAA9 #4BD6C6

Accessibility & contrast

On white

4.31
#1F887C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#1F887C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F887C
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F887C#FFFFFF#000000##000000
##1F887C1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#81807C
Deuteranopia (green-blind)
#73757D
Tritanopia (blue-blind)
#008B84
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f887c;
/* rgb */ color: rgb(31, 136, 124);
/* oklch */ color: oklch(56.7% 0.093 183.5);
Tailwind
colors: {
  custom: {
    50: '#6eaba1',
    500: '#1f887c',
    950: '#000000',
  },
}
SCSS
$custom: #1f887c;
$custom-light: #6eaba1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f887c",
  "rgb": {
    "r": 31,
    "g": 136,
    "b": 124
  },
  "hsl": {
    "h": 173.143,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56691,
    "c": 0.09271,
    "h": 183.5
  },
  "luminance": 0.19355
}

Semantic roles & 50–950 ramp

primary
#1F887C
secondary
#B94A57
accent
#4255E6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100F
muted
#7B7F7E

Preview Lab

Preview with #1F887C

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

Preview Lab → · Contrast checker → · Palette generator →

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