#1F8D7C#1F8D7C

#1F8D7C is a mid, moderate teal. Relative luminance 0.208; OKLCH L 58.0% C 0.098 H 179.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#1F8D7C
RGBrgb(31, 141, 124)
HSLhsl(171, 64%, 34%)
HSVhsv(171, 78%, 55%)
CMYKcmyk(78%, 0%, 12.1%, 44.7%)
CIE-LABlab(52.72, -33.90, 0.50)
CIE-LCHlch(52.72, 33.90, 179.15°)
OKLaboklab(58.02% -0.0978 0.0008)
OKLCHoklch(58.02% 0.098 179.5)
XYZxyz(13.7262, 20.7946, 22.3552)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D7C #8D1F30
analogous
#1F8D45 #1F8D7C #1F678D
triadic
#1F8D7C #7C1F8D #8D7C1F
tetradic
#1F8D7C #451F8D #8D1F30 #678D1F
square
#1F8D7C #451F8D #8D1F30 #678D1F
split-complementary
#1F8D7C #8D1F67 #8D451F
monochromatic
#092924 #145B50 #1F8D7C #2ABFA8 #4ED8C3

Accessibility & contrast

On white

4.07
#1F8D7C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#1F8D7C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8D7C
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8D7C#FFFFFF#000000##000000
##1F8D7C1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#87847B
Deuteranopia (green-blind)
#78797D
Tritanopia (blue-blind)
#008F88
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #1f8d7c;
/* rgb */ color: rgb(31, 141, 124);
/* oklch */ color: oklch(58.0% 0.098 179.5);
Tailwind
colors: {
  custom: {
    50: '#6eafa1',
    500: '#1f8d7c',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d7c;
$custom-light: #6eafa1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d7c",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 124
  },
  "hsl": {
    "h": 170.727,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58019,
    "c": 0.09777,
    "h": 179.5
  },
  "luminance": 0.20796
}

Semantic roles & 50–950 ramp

primary
#1F8D7C
secondary
#BB4D5E
accent
#415BE7
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100F
muted
#7B7F7E

Preview Lab

Preview with #1F8D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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