#1F9789#1F9789

#1F9789 is a mid, moderate teal. Relative luminance 0.242; OKLCH L 61.1% C 0.102 H 182.9°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#1F9789
RGBrgb(31, 151, 137)
HSLhsl(173, 66%, 36%)
HSVhsv(173, 79%, 59%)
CMYKcmyk(79.5%, 0%, 9.3%, 40.8%)
CIE-LABlab(56.32, -34.80, -1.72)
CIE-LCHlch(56.32, 34.84, 182.83°)
OKLaboklab(61.07% -0.1018 -0.0052)
OKLCHoklch(61.07% 0.102 182.9)
XYZxyz(16.1448, 24.2287, 27.4878)
Luminance0.2423 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9789 #971F2D
analogous
#1F974D #1F9789 #1F6997
triadic
#1F9789 #891F97 #97891F
tetradic
#1F9789 #4D1F97 #971F2D #69971F
square
#1F9789 #4D1F97 #971F2D #69971F
split-complementary
#1F9789 #971F69 #974D1F
monochromatic
#0A312D #15645B #1F9789 #29CAB7 #54DCCC

Accessibility & contrast

On white

3.59
#1F9789 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#1F9789 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9789
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9789#FFFFFF#000000##000000
##1F97891.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8E89
Deuteranopia (green-blind)
#80828A
Tritanopia (blue-blind)
#009A93
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #1f9789;
/* rgb */ color: rgb(31, 151, 137);
/* oklch */ color: oklch(61.1% 0.102 182.9);
Tailwind
colors: {
  custom: {
    50: '#71b6ab',
    500: '#1f9789',
    950: '#000000',
  },
}
SCSS
$custom: #1f9789;
$custom-light: #71b6ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9789",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 137
  },
  "hsl": {
    "h": 173,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61074,
    "c": 0.10189,
    "h": 182.9
  },
  "luminance": 0.24231
}

Semantic roles & 50–950 ramp

primary
#1F9789
secondary
#BF525F
accent
#3F53E9
background
#F7FBFA
surface
#EDF6F4
border
#C8D0CE
text
#091110
muted
#7B807F

Preview Lab

Preview with #1F9789

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

Preview Lab → · Contrast checker → · Palette generator →

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