#1F8F71#1F8F71

#1F8F71 is a mid, moderate teal. Relative luminance 0.211; OKLCH L 58.2% C 0.107 H 169.9°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#1F8F71
RGBrgb(31, 143, 113)
HSLhsl(164, 64%, 34%)
HSVhsv(164, 78%, 56%)
CMYKcmyk(78.3%, 0%, 21%, 43.9%)
CIE-LABlab(53.09, -37.78, 7.37)
CIE-LCHlch(53.09, 38.49, 168.96°)
OKLaboklab(58.22% -0.1053 0.0188)
OKLCHoklch(58.22% 0.107 169.9)
XYZxyz(13.3666, 21.1269, 18.9930)
Luminance0.2113 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8F71 #8F1F3D
analogous
#1F8F39 #1F8F71 #1F758F
triadic
#1F8F71 #711F8F #8F711F
tetradic
#1F8F71 #391F8F #8F1F3D #758F1F
square
#1F8F71 #391F8F #8F1F3D #758F1F
split-complementary
#1F8F71 #8F1F75 #8F391F
monochromatic
#092A22 #145D49 #1F8F71 #2AC199 #4FD9B4

Accessibility & contrast

On white

4.02
#1F8F71 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#1F8F71 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8F71
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8F71#FFFFFF#000000##000000
##1F8F711.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B856F
Deuteranopia (green-blind)
#7D7B73
Tritanopia (blue-blind)
#009086
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #1f8f71;
/* rgb */ color: rgb(31, 143, 113);
/* oklch */ color: oklch(58.2% 0.107 169.9);
Tailwind
colors: {
  custom: {
    50: '#6eb099',
    500: '#1f8f71',
    950: '#000000',
  },
}
SCSS
$custom: #1f8f71;
$custom-light: #6eb099;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8f71",
  "rgb": {
    "r": 31,
    "g": 143,
    "b": 113
  },
  "hsl": {
    "h": 163.929,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58221,
    "c": 0.10698,
    "h": 169.9
  },
  "luminance": 0.21128
}

Semantic roles & 50–950 ramp

primary
#1F8F71
secondary
#BC4E6B
accent
#406DE7
background
#F7FAF9
surface
#EDF5F2
border
#C8CFCC
text
#08110E
muted
#7B807E

Preview Lab

Preview with #1F8F71

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

Preview Lab → · Contrast checker → · Palette generator →

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