#1F9778#1F9778

#1F9778 is a mid, moderate teal. Relative luminance 0.238; OKLCH L 60.6% C 0.112 H 170.4°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#1F9778
RGBrgb(31, 151, 120)
HSLhsl(165, 66%, 36%)
HSVhsv(165, 79%, 59%)
CMYKcmyk(79.5%, 0%, 20.5%, 40.8%)
CIE-LABlab(55.87, -39.44, 7.33)
CIE-LCHlch(55.87, 40.12, 169.48°)
OKLaboklab(60.56% -0.1101 0.0187)
OKLCHoklch(60.56% 0.112 170.4)
XYZxyz(15.0200, 23.7787, 21.5638)
Luminance0.2378 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9778 #971F3E
analogous
#1F973C #1F9778 #1F7A97
triadic
#1F9778 #781F97 #97781F
tetradic
#1F9778 #3C1F97 #971F3E #7A971F
square
#1F9778 #3C1F97 #971F3E #7A971F
split-complementary
#1F9778 #971F7A #973C1F
monochromatic
#0A3127 #156450 #1F9778 #29CAA0 #54DCB9

Accessibility & contrast

On white

3.65
#1F9778 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#1F9778 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9778
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9778#FFFFFF#000000##000000
##1F97781.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928C76
Deuteranopia (green-blind)
#83817A
Tritanopia (blue-blind)
#00988E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #1f9778;
/* rgb */ color: rgb(31, 151, 120);
/* oklch */ color: oklch(60.6% 0.112 170.4);
Tailwind
colors: {
  custom: {
    50: '#70b69f',
    500: '#1f9778',
    950: '#000000',
  },
}
SCSS
$custom: #1f9778;
$custom-light: #70b69f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9778",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 120
  },
  "hsl": {
    "h": 164.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60556,
    "c": 0.11165,
    "h": 170.4
  },
  "luminance": 0.23781
}

Semantic roles & 50–950 ramp

primary
#1F9778
secondary
#BF526F
accent
#3F6BE9
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #1F9778

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

Preview Lab → · Contrast checker → · Palette generator →

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