#1F997B#1F997B

#1F997B is a mid, moderate teal. Relative luminance 0.245; OKLCH L 61.2% C 0.112 H 171.3°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#1F997B
RGBrgb(31, 153, 123)
HSLhsl(165, 66%, 36%)
HSVhsv(165, 80%, 60%)
CMYKcmyk(79.7%, 0%, 19.6%, 40%)
CIE-LABlab(56.59, -39.53, 6.65)
CIE-LCHlch(56.59, 40.09, 170.45°)
OKLaboklab(61.17% -0.1106 0.0169)
OKLCHoklch(61.17% 0.112 171.3)
XYZxyz(15.5295, 24.5019, 22.6459)
Luminance0.2450 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F997B #991F3D
analogous
#1F993E #1F997B #1F7A99
triadic
#1F997B #7B1F99 #997B1F
tetradic
#1F997B #3E1F99 #991F3D #7A991F
square
#1F997B #3E1F99 #991F3D #7A991F
split-complementary
#1F997B #991F7A #993E1F
monochromatic
#0A3329 #156652 #1F997B #29CCA4 #56DDBC

Accessibility & contrast

On white

3.56
#1F997B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#1F997B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F997B
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F997B#FFFFFF#000000##000000
##1F997B1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#948E7A
Deuteranopia (green-blind)
#85837D
Tritanopia (blue-blind)
#009A90
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #1f997b;
/* rgb */ color: rgb(31, 153, 123);
/* oklch */ color: oklch(61.2% 0.112 171.3);
Tailwind
colors: {
  custom: {
    50: '#71b8a1',
    500: '#1f997b',
    950: '#000000',
  },
}
SCSS
$custom: #1f997b;
$custom-light: #71b8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f997b",
  "rgb": {
    "r": 31,
    "g": 153,
    "b": 123
  },
  "hsl": {
    "h": 165.246,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61172,
    "c": 0.11192,
    "h": 171.3
  },
  "luminance": 0.24504
}

Semantic roles & 50–950 ramp

primary
#1F997B
secondary
#C0546E
accent
#3F69E9
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #1F997B

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

Preview Lab → · Contrast checker → · Palette generator →

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