#1F9171#1F9171

#1F9171 is a mid, moderate teal. Relative luminance 0.217; OKLCH L 58.8% C 0.109 H 168.8°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#1F9171
RGBrgb(31, 145, 113)
HSLhsl(163, 65%, 35%)
HSVhsv(163, 79%, 57%)
CMYKcmyk(78.6%, 0%, 22.1%, 43.1%)
CIE-LABlab(53.74, -38.65, 8.30)
CIE-LCHlch(53.74, 39.53, 167.88°)
OKLaboklab(58.76% -0.1074 0.0212)
OKLCHoklch(58.76% 0.109 168.8)
XYZxyz(13.6695, 21.7327, 19.0940)
Luminance0.2173 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9171 #911F3F
analogous
#1F9138 #1F9171 #1F7891
triadic
#1F9171 #711F91 #91711F
tetradic
#1F9171 #381F91 #911F3F #78911F
square
#1F9171 #381F91 #911F3F #78911F
split-complementary
#1F9171 #911F78 #91381F
monochromatic
#092C22 #145F4A #1F9171 #2AC398 #51DAB3

Accessibility & contrast

On white

3.93
#1F9171 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#1F9171 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9171
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9171#FFFFFF#000000##000000
##1F91711.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D876F
Deuteranopia (green-blind)
#7F7C73
Tritanopia (blue-blind)
#009288
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #1f9171;
/* rgb */ color: rgb(31, 145, 113);
/* oklch */ color: oklch(58.8% 0.109 168.8);
Tailwind
colors: {
  custom: {
    50: '#6eb299',
    500: '#1f9171',
    950: '#000000',
  },
}
SCSS
$custom: #1f9171;
$custom-light: #6eb299;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9171",
  "rgb": {
    "r": 31,
    "g": 145,
    "b": 113
  },
  "hsl": {
    "h": 163.158,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58758,
    "c": 0.10946,
    "h": 168.8
  },
  "luminance": 0.21734
}

Semantic roles & 50–950 ramp

primary
#1F9171
secondary
#BD4F6E
accent
#406FE8
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#08110E
muted
#7B807E

Preview Lab

Preview with #1F9171

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

Preview Lab → · Contrast checker → · Palette generator →

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