#1F9785#1F9785

#1F9785 is a mid, moderate teal. Relative luminance 0.241; OKLCH L 60.9% C 0.104 H 179.7°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#1F9785
RGBrgb(31, 151, 133)
HSLhsl(171, 66%, 36%)
HSVhsv(171, 79%, 59%)
CMYKcmyk(79.5%, 0%, 11.9%, 40.8%)
CIE-LABlab(56.20, -35.93, 0.40)
CIE-LCHlch(56.20, 35.94, 179.36°)
OKLaboklab(60.95% -0.1037 0.0005)
OKLCHoklch(60.95% 0.104 179.7)
XYZxyz(15.8632, 24.1160, 26.0046)
Luminance0.2412 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9785 #971F31
analogous
#1F9749 #1F9785 #1F6D97
triadic
#1F9785 #851F97 #97851F
tetradic
#1F9785 #491F97 #971F31 #6D971F
square
#1F9785 #491F97 #971F31 #6D971F
split-complementary
#1F9785 #971F6D #97491F
monochromatic
#0A312C #156458 #1F9785 #29CAB2 #54DCC8

Accessibility & contrast

On white

3.61
#1F9785 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#1F9785 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9785
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9785#FFFFFF#000000##000000
##1F97851.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f9785;
/* rgb */ color: rgb(31, 151, 133);
/* oklch */ color: oklch(60.9% 0.104 179.7);
Tailwind
colors: {
  custom: {
    50: '#71b6a8',
    500: '#1f9785',
    950: '#000000',
  },
}
SCSS
$custom: #1f9785;
$custom-light: #71b6a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9785",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 133
  },
  "hsl": {
    "h": 171,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60945,
    "c": 0.10369,
    "h": 179.7
  },
  "luminance": 0.24118
}

Semantic roles & 50–950 ramp

primary
#1F9785
secondary
#BF5263
accent
#3F58E9
background
#F7FBFA
surface
#EDF6F4
border
#C8D0CE
text
#09110F
muted
#7B807F

Preview Lab

Preview with #1F9785

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

Preview Lab → · Contrast checker → · Palette generator →

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