#1F8F7E#1F8F7E

#1F8F7E is a mid, moderate teal. Relative luminance 0.214; OKLCH L 58.6% C 0.099 H 179.8°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#1F8F7E
RGBrgb(31, 143, 126)
HSLhsl(171, 64%, 34%)
HSVhsv(171, 78%, 56%)
CMYKcmyk(78.3%, 0%, 11.9%, 43.9%)
CIE-LABlab(53.43, -34.25, 0.37)
CIE-LCHlch(53.43, 34.26, 179.37°)
OKLaboklab(58.61% -0.0989 0.0004)
OKLCHoklch(58.61% 0.099 179.8)
XYZxyz(14.1515, 21.4409, 23.1273)
Luminance0.2144 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8F7E #8F1F30
analogous
#1F8F46 #1F8F7E #1F688F
triadic
#1F8F7E #7E1F8F #8F7E1F
tetradic
#1F8F7E #461F8F #8F1F30 #688F1F
square
#1F8F7E #461F8F #8F1F30 #688F1F
split-complementary
#1F8F7E #8F1F68 #8F461F
monochromatic
#092A25 #145D52 #1F8F7E #2AC1AA #4FD9C4

Accessibility & contrast

On white

3.97
#1F8F7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#1F8F7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8F7E
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8F7E#FFFFFF#000000##000000
##1F8F7E1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#89867D
Deuteranopia (green-blind)
#7A7B7F
Tritanopia (blue-blind)
#00928A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #1f8f7e;
/* rgb */ color: rgb(31, 143, 126);
/* oklch */ color: oklch(58.6% 0.099 179.8);
Tailwind
colors: {
  custom: {
    50: '#6fb0a3',
    500: '#1f8f7e',
    950: '#000000',
  },
}
SCSS
$custom: #1f8f7e;
$custom-light: #6fb0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8f7e",
  "rgb": {
    "r": 31,
    "g": 143,
    "b": 126
  },
  "hsl": {
    "h": 170.893,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58613,
    "c": 0.09887,
    "h": 179.8
  },
  "luminance": 0.21443
}

Semantic roles & 50–950 ramp

primary
#1F8F7E
secondary
#BC4E5F
accent
#405AE7
background
#F7FAFA
surface
#EDF5F3
border
#C8CFCD
text
#08100F
muted
#7B7F7F

Preview Lab

Preview with #1F8F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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