#1F9786#1F9786

#1F9786 is a mid, moderate teal. Relative luminance 0.241; OKLCH L 61.0% C 0.103 H 180.5°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#1F9786
RGBrgb(31, 151, 134)
HSLhsl(172, 66%, 36%)
HSVhsv(172, 79%, 59%)
CMYKcmyk(79.5%, 0%, 11.3%, 40.8%)
CIE-LABlab(56.23, -35.65, -0.13)
CIE-LCHlch(56.23, 35.65, 180.21°)
OKLaboklab(60.98% -0.1032 -0.0009)
OKLCHoklch(60.98% 0.103 180.5)
XYZxyz(15.9326, 24.1438, 26.3701)
Luminance0.2415 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9786 #971F30
analogous
#1F974A #1F9786 #1F6C97
triadic
#1F9786 #861F97 #97861F
tetradic
#1F9786 #4A1F97 #971F30 #6C971F
square
#1F9786 #4A1F97 #971F30 #6C971F
split-complementary
#1F9786 #971F6C #974A1F
monochromatic
#0A312C #156459 #1F9786 #29CAB3 #54DCC9

Accessibility & contrast

On white

3.60
#1F9786 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#1F9786 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9786
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9786#FFFFFF#000000##000000
##1F97861.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#908E85
Deuteranopia (green-blind)
#808287
Tritanopia (blue-blind)
#009A92
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #1f9786;
/* rgb */ color: rgb(31, 151, 134);
/* oklch */ color: oklch(61.0% 0.103 180.5);
Tailwind
colors: {
  custom: {
    50: '#71b6a9',
    500: '#1f9786',
    950: '#000000',
  },
}
SCSS
$custom: #1f9786;
$custom-light: #71b6a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9786",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 134
  },
  "hsl": {
    "h": 171.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60977,
    "c": 0.1032,
    "h": 180.5
  },
  "luminance": 0.24146
}

Semantic roles & 50–950 ramp

primary
#1F9786
secondary
#BF5262
accent
#3F57E9
background
#F7FBFA
surface
#EDF6F4
border
#C8D0CE
text
#09110F
muted
#7B807F

Preview Lab

Preview with #1F9786

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

Preview Lab → · Contrast checker → · Palette generator →

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