#1F9780#1F9780

#1F9780 is a mid, moderate teal. Relative luminance 0.240; OKLCH L 60.8% C 0.106 H 175.9°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#1F9780
RGBrgb(31, 151, 128)
HSLhsl(169, 66%, 36%)
HSVhsv(169, 79%, 59%)
CMYKcmyk(79.5%, 0%, 15.2%, 40.8%)
CIE-LABlab(56.07, -37.32, 3.06)
CIE-LCHlch(56.07, 37.44, 175.31°)
OKLaboklab(60.79% -0.1061 0.0075)
OKLCHoklch(60.79% 0.106 175.9)
XYZxyz(15.5260, 23.9811, 24.2284)
Luminance0.2398 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9780 #971F36
analogous
#1F9744 #1F9780 #1F7297
triadic
#1F9780 #801F97 #97801F
tetradic
#1F9780 #441F97 #971F36 #72971F
square
#1F9780 #441F97 #971F36 #72971F
split-complementary
#1F9780 #971F72 #97441F
monochromatic
#0A312A #156455 #1F9780 #29CAAB #54DCC2

Accessibility & contrast

On white

3.62
#1F9780 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#1F9780 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9780
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9780#FFFFFF#000000##000000
##1F97801.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918D7F
Deuteranopia (green-blind)
#828282
Tritanopia (blue-blind)
#009990
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #1f9780;
/* rgb */ color: rgb(31, 151, 128);
/* oklch */ color: oklch(60.8% 0.106 175.9);
Tailwind
colors: {
  custom: {
    50: '#70b6a4',
    500: '#1f9780',
    950: '#000000',
  },
}
SCSS
$custom: #1f9780;
$custom-light: #70b6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9780",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 128
  },
  "hsl": {
    "h": 168.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.6079,
    "c": 0.1064,
    "h": 175.9
  },
  "luminance": 0.23983
}

Semantic roles & 50–950 ramp

primary
#1F9780
secondary
#BF5267
accent
#3F5FE9
background
#F7FBFA
surface
#EDF6F4
border
#C8D0CE
text
#09110F
muted
#7B807F

Preview Lab

Preview with #1F9780

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

Preview Lab → · Contrast checker → · Palette generator →

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