#1F9797#1F9797

#1F9797 is a mid, moderate teal. Relative luminance 0.247; OKLCH L 61.6% C 0.098 H 194.9°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#1F9797
RGBrgb(31, 151, 151)
HSLhsl(180, 66%, 36%)
HSVhsv(180, 79%, 59%)
CMYKcmyk(79.5%, 0%, 0%, 40.8%)
CIE-LABlab(56.74, -30.64, -9.10)
CIE-LCHlch(56.74, 31.96, 196.54°)
OKLaboklab(61.56% -0.0952 -0.0253)
OKLCHoklch(61.56% 0.098 194.9)
XYZxyz(17.2150, 24.6567, 33.1241)
Luminance0.2466 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9797 #971F1F
analogous
#1F975B #1F9797 #1F5B97
triadic
#1F9797 #971F97 #97971F
tetradic
#1F9797 #5B1F97 #971F1F #5B971F
square
#1F9797 #5B1F97 #971F1F #5B971F
split-complementary
#1F9797 #971F5B #975B1F
monochromatic
#0A3131 #156464 #1F9797 #29CACA #54DCDC

Accessibility & contrast

On white

3.54
#1F9797 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#1F9797 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9797
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9797#FFFFFF#000000##000000
##1F97971.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8F97
Deuteranopia (green-blind)
#7C8398
Tritanopia (blue-blind)
#009C97
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #1f9797;
/* rgb */ color: rgb(31, 151, 151);
/* oklch */ color: oklch(61.6% 0.098 194.9);
Tailwind
colors: {
  custom: {
    50: '#73b6b5',
    500: '#1f9797',
    950: '#000000',
  },
}
SCSS
$custom: #1f9797;
$custom-light: #73b6b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9797",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 151
  },
  "hsl": {
    "h": 180,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61559,
    "c": 0.09849,
    "h": 194.9
  },
  "luminance": 0.24659
}

Semantic roles & 50–950 ramp

primary
#1F9797
secondary
#BF5252
accent
#3F3FE9
background
#F7FBFB
surface
#EEF6F6
border
#C9D0D0
text
#091111
muted
#7B8080

Preview Lab

Preview with #1F9797

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

Preview Lab → · Contrast checker → · Palette generator →

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