#1F8173#1F8173

#1F8173 is a mid, moderate teal. Relative luminance 0.172; OKLCH L 54.5% C 0.090 H 180.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#1F8173
RGBrgb(31, 129, 115)
HSLhsl(171, 61%, 31%)
HSVhsv(171, 76%, 51%)
CMYKcmyk(76%, 0%, 10.9%, 49.4%)
CIE-LABlab(48.55, -30.86, -0.35)
CIE-LCHlch(48.55, 30.86, 180.65°)
OKLaboklab(54.52% -0.0895 -0.0014)
OKLCHoklch(54.52% 0.09 180.9)
XYZxyz(11.5083, 17.2282, 18.9352)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8173 #811F2D
analogous
#1F8142 #1F8173 #1F5E81
triadic
#1F8173 #731F81 #81731F
tetradic
#1F8173 #421F81 #811F2D #5E811F
square
#1F8173 #421F81 #811F2D #5E811F
split-complementary
#1F8173 #811F5E #81421F
monochromatic
#071E1B #135047 #1F8173 #2BB29F #47D3BF

Accessibility & contrast

On white

4.72
#1F8173 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#1F8173 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8173
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8173#FFFFFF#000000##FFFFFF
##1F81731.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7972
Deuteranopia (green-blind)
#6E6F74
Tritanopia (blue-blind)
#00837D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1f8173;
/* rgb */ color: rgb(31, 129, 115);
/* oklch */ color: oklch(54.5% 0.090 180.9);
Tailwind
colors: {
  custom: {
    50: '#6ca69b',
    500: '#1f8173',
    950: '#000000',
  },
}
SCSS
$custom: #1f8173;
$custom-light: #6ca69b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8173",
  "rgb": {
    "r": 31,
    "g": 129,
    "b": 115
  },
  "hsl": {
    "h": 171.429,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54523,
    "c": 0.08955,
    "h": 180.9
  },
  "luminance": 0.1723
}

Semantic roles & 50–950 ramp

primary
#1F8173
secondary
#B44857
accent
#435AE4
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#080F0E
muted
#7A7F7E

Preview Lab

Preview with #1F8173

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

Preview Lab → · Contrast checker → · Palette generator →

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