#1F9798#1F9798

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

Color values

HEX#1F9798
RGBrgb(31, 151, 152)
HSLhsl(180, 66%, 36%)
HSVhsv(180, 80%, 60%)
CMYKcmyk(79.6%, 0.7%, 0%, 40.4%)
CIE-LABlab(56.77, -30.33, -9.62)
CIE-LCHlch(56.77, 31.82, 197.60°)
OKLaboklab(61.6% -0.0947 -0.0268)
OKLCHoklch(61.6% 0.098 195.8)
XYZxyz(17.2966, 24.6894, 33.5536)
Luminance0.2469 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9798 #98201F
analogous
#1F985C #1F9798 #1F5A98
triadic
#1F9798 #981F97 #97981F
tetradic
#1F9798 #5C1F98 #98201F #5A981F
square
#1F9798 #5C1F98 #98201F #5A981F
split-complementary
#1F9798 #981F5A #985C1F
monochromatic
#0A3232 #156465 #1F9798 #29C9CB #55DBDC

Accessibility & contrast

On white

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

On black

5.94
#1F9798 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9798
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9798#FFFFFF#000000##000000
##1F97981.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f9798;
/* rgb */ color: rgb(31, 151, 152);
/* oklch */ color: oklch(61.6% 0.098 195.8);
Tailwind
colors: {
  custom: {
    50: '#73b6b6',
    500: '#1f9798',
    950: '#000000',
  },
}
SCSS
$custom: #1f9798;
$custom-light: #73b6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9798",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 152
  },
  "hsl": {
    "h": 180.496,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61596,
    "c": 0.09843,
    "h": 195.8
  },
  "luminance": 0.24692
}

Semantic roles & 50–950 ramp

primary
#1F9798
secondary
#C05453
accent
#403FE9
background
#F7FBFB
surface
#EEF6F6
border
#C9D0D0
text
#091111
muted
#7B8080

Preview Lab

Preview with #1F9798

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

Preview Lab → · Contrast checker → · Palette generator →

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