#1F8170#1F8170

#1F8170 is a mid, moderate teal. Relative luminance 0.172; OKLCH L 54.4% C 0.091 H 178.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#1F8170
RGBrgb(31, 129, 112)
HSLhsl(170, 61%, 31%)
HSVhsv(170, 76%, 51%)
CMYKcmyk(76%, 0%, 13.2%, 49.4%)
CIE-LABlab(48.46, -31.71, 1.29)
CIE-LCHlch(48.46, 31.74, 177.67°)
OKLaboklab(54.43% -0.091 0.0029)
OKLCHoklch(54.43% 0.091 178.2)
XYZxyz(11.3385, 17.1603, 18.0408)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8170 #811F30
analogous
#1F813F #1F8170 #1F6181
triadic
#1F8170 #701F81 #81701F
tetradic
#1F8170 #3F1F81 #811F30 #61811F
square
#1F8170 #3F1F81 #811F30 #61811F
split-complementary
#1F8170 #811F61 #813F1F
monochromatic
#071E1A #135045 #1F8170 #2BB29B #47D3BB

Accessibility & contrast

On white

4.74
#1F8170 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#1F8170 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8170
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8170#FFFFFF#000000##FFFFFF
##1F81701.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C796F
Deuteranopia (green-blind)
#6E6F71
Tritanopia (blue-blind)
#00837C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1f8170;
/* rgb */ color: rgb(31, 129, 112);
/* oklch */ color: oklch(54.4% 0.091 178.2);
Tailwind
colors: {
  custom: {
    50: '#6ba699',
    500: '#1f8170',
    950: '#000000',
  },
}
SCSS
$custom: #1f8170;
$custom-light: #6ba699;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8170",
  "rgb": {
    "r": 31,
    "g": 129,
    "b": 112
  },
  "hsl": {
    "h": 169.592,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54426,
    "c": 0.09108,
    "h": 178.2
  },
  "luminance": 0.17162
}

Semantic roles & 50–950 ramp

primary
#1F8170
secondary
#B4485B
accent
#435FE4
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#080F0D
muted
#7A7F7E

Preview Lab

Preview with #1F8170

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

Preview Lab → · Contrast checker → · Palette generator →

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