#1F997D#1F997D

#1F997D is a mid, moderate teal. Relative luminance 0.246; OKLCH L 61.2% C 0.111 H 172.6°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#1F997D
RGBrgb(31, 153, 125)
HSLhsl(166, 66%, 36%)
HSVhsv(166, 80%, 60%)
CMYKcmyk(79.7%, 0%, 18.3%, 40%)
CIE-LABlab(56.64, -39.01, 5.59)
CIE-LCHlch(56.64, 39.40, 171.85°)
OKLaboklab(61.23% -0.1096 0.0142)
OKLCHoklch(61.23% 0.111 172.6)
XYZxyz(15.6560, 24.5525, 23.3120)
Luminance0.2455 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F997D #991F3B
analogous
#1F9940 #1F997D #1F7899
triadic
#1F997D #7D1F99 #997D1F
tetradic
#1F997D #401F99 #991F3B #78991F
square
#1F997D #401F99 #991F3B #78991F
split-complementary
#1F997D #991F78 #99401F
monochromatic
#0A332A #156653 #1F997D #29CCA7 #56DDBE

Accessibility & contrast

On white

3.55
#1F997D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#1F997D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F997D
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F997D#FFFFFF#000000##000000
##1F997D1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948E7C
Deuteranopia (green-blind)
#84837F
Tritanopia (blue-blind)
#009B91
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #1f997d;
/* rgb */ color: rgb(31, 153, 125);
/* oklch */ color: oklch(61.2% 0.111 172.6);
Tailwind
colors: {
  custom: {
    50: '#71b8a2',
    500: '#1f997d',
    950: '#000000',
  },
}
SCSS
$custom: #1f997d;
$custom-light: #71b8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f997d",
  "rgb": {
    "r": 31,
    "g": 153,
    "b": 125
  },
  "hsl": {
    "h": 166.23,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61229,
    "c": 0.11056,
    "h": 172.6
  },
  "luminance": 0.24554
}

Semantic roles & 50–950 ramp

primary
#1F997D
secondary
#C0546C
accent
#3F66E9
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110F
muted
#7B807E

Preview Lab

Preview with #1F997D

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

Preview Lab → · Contrast checker → · Palette generator →

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