#1F9787#1F9787

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

Color values

HEX#1F9787
RGBrgb(31, 151, 135)
HSLhsl(172, 66%, 36%)
HSVhsv(172, 79%, 59%)
CMYKcmyk(79.5%, 0%, 10.6%, 40.8%)
CIE-LABlab(56.26, -35.37, -0.66)
CIE-LCHlch(56.26, 35.38, 181.07°)
OKLaboklab(61.01% -0.1027 -0.0024)
OKLCHoklch(61.01% 0.103 181.3)
XYZxyz(16.0027, 24.1718, 26.7392)
Luminance0.2417 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9787 #971F2F
analogous
#1F974B #1F9787 #1F6B97
triadic
#1F9787 #871F97 #97871F
tetradic
#1F9787 #4B1F97 #971F2F #6B971F
square
#1F9787 #4B1F97 #971F2F #6B971F
split-complementary
#1F9787 #971F6B #974B1F
monochromatic
#0A312C #15645A #1F9787 #29CAB4 #54DCCA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F9787#FFFFFF#000000##000000
##1F97871.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)
#908E86
Deuteranopia (green-blind)
#808288
Tritanopia (blue-blind)
#009A92
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #1f9787;
/* rgb */ color: rgb(31, 151, 135);
/* oklch */ color: oklch(61.0% 0.103 181.3);
Tailwind
colors: {
  custom: {
    50: '#71b6a9',
    500: '#1f9787',
    950: '#000000',
  },
}
SCSS
$custom: #1f9787;
$custom-light: #71b6a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9787",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 135
  },
  "hsl": {
    "h": 172,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61009,
    "c": 0.10275,
    "h": 181.3
  },
  "luminance": 0.24174
}

Semantic roles & 50–950 ramp

primary
#1F9787
secondary
#BF5261
accent
#3F56E9
background
#F7FBFA
surface
#EDF6F4
border
#C8D0CE
text
#091110
muted
#7B807F

Preview Lab

Preview with #1F9787

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

Preview Lab → · Contrast checker → · Palette generator →

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