#1F997E#1F997E

#1F997E is a mid, moderate teal. Relative luminance 0.246; OKLCH L 61.3% C 0.110 H 173.3°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#1F997E
RGBrgb(31, 153, 126)
HSLhsl(167, 66%, 36%)
HSVhsv(167, 80%, 60%)
CMYKcmyk(79.7%, 0%, 17.6%, 40%)
CIE-LABlab(56.66, -38.74, 5.06)
CIE-LCHlch(56.66, 39.07, 172.56°)
OKLaboklab(61.26% -0.1091 0.0128)
OKLCHoklch(61.26% 0.11 173.3)
XYZxyz(15.7202, 24.5782, 23.6502)
Luminance0.2458 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F997E #991F3A
analogous
#1F9941 #1F997E #1F7799
triadic
#1F997E #7E1F99 #997E1F
tetradic
#1F997E #411F99 #991F3A #77991F
square
#1F997E #411F99 #991F3A #77991F
split-complementary
#1F997E #991F77 #99411F
monochromatic
#0A332A #156654 #1F997E #29CCA8 #56DDBF

Accessibility & contrast

On white

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

On black

5.92
#1F997E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F997E
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F997E#FFFFFF#000000##000000
##1F997E1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948F7D
Deuteranopia (green-blind)
#848380
Tritanopia (blue-blind)
#009B91
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #1f997e;
/* rgb */ color: rgb(31, 153, 126);
/* oklch */ color: oklch(61.3% 0.110 173.3);
Tailwind
colors: {
  custom: {
    50: '#71b8a3',
    500: '#1f997e',
    950: '#000000',
  },
}
SCSS
$custom: #1f997e;
$custom-light: #71b8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f997e",
  "rgb": {
    "r": 31,
    "g": 153,
    "b": 126
  },
  "hsl": {
    "h": 166.721,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61259,
    "c": 0.10989,
    "h": 173.3
  },
  "luminance": 0.2458
}

Semantic roles & 50–950 ramp

primary
#1F997E
secondary
#C0546C
accent
#3F64E9
background
#F7FBFA
surface
#EDF6F3
border
#C8D0CD
text
#09110F
muted
#7B807F

Preview Lab

Preview with #1F997E

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

Preview Lab → · Contrast checker → · Palette generator →

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