#1F8871#1F8871

#1F8871 is a mid, moderate teal. Relative luminance 0.191; OKLCH L 56.3% C 0.099 H 174.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#1F8871
RGBrgb(31, 136, 113)
HSLhsl(167, 63%, 33%)
HSVhsv(167, 77%, 53%)
CMYKcmyk(77.2%, 0%, 16.9%, 46.7%)
CIE-LABlab(50.79, -34.66, 4.08)
CIE-LCHlch(50.79, 34.90, 173.28°)
OKLaboklab(56.34% -0.098 0.0103)
OKLCHoklch(56.34% 0.099 174)
XYZxyz(12.3483, 19.0904, 18.6536)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8871 #881F36
analogous
#1F883C #1F8871 #1F6A88
triadic
#1F8871 #711F88 #88711F
tetradic
#1F8871 #3C1F88 #881F36 #6A881F
square
#1F8871 #3C1F88 #881F36 #6A881F
split-complementary
#1F8871 #881F6A #883C1F
monochromatic
#08241E #145648 #1F8871 #2ABA9A #4BD6B8

Accessibility & contrast

On white

4.36
#1F8871 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#1F8871 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8871
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8871#FFFFFF#000000##000000
##1F88711.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#837F70
Deuteranopia (green-blind)
#757573
Tritanopia (blue-blind)
#008A81
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f8871;
/* rgb */ color: rgb(31, 136, 113);
/* oklch */ color: oklch(56.3% 0.099 174.0);
Tailwind
colors: {
  custom: {
    50: '#6dab99',
    500: '#1f8871',
    950: '#000000',
  },
}
SCSS
$custom: #1f8871;
$custom-light: #6dab99;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8871",
  "rgb": {
    "r": 31,
    "g": 136,
    "b": 113
  },
  "hsl": {
    "h": 166.857,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56341,
    "c": 0.09852,
    "h": 174
  },
  "luminance": 0.19092
}

Semantic roles & 50–950 ramp

primary
#1F8871
secondary
#B94A62
accent
#4266E6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #1F8871

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

Preview Lab → · Contrast checker → · Palette generator →

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