#1F8D8A#1F8D8A

#1F8D8A is a mid, moderate teal. Relative luminance 0.212; OKLCH L 58.5% C 0.093 H 192.1°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#1F8D8A
RGBrgb(31, 141, 138)
HSLhsl(178, 64%, 34%)
HSVhsv(178, 78%, 55%)
CMYKcmyk(78%, 0%, 2.1%, 44.7%)
CIE-LABlab(53.14, -29.78, -6.99)
CIE-LCHlch(53.14, 30.59, 193.21°)
OKLaboklab(58.5% -0.091 -0.0195)
OKLCHoklch(58.5% 0.093 192.1)
XYZxyz(14.6752, 21.1742, 27.3534)
Luminance0.2118 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D8A #8D1F22
analogous
#1F8D53 #1F8D8A #1F598D
triadic
#1F8D8A #8A1F8D #8D8A1F
tetradic
#1F8D8A #531F8D #8D1F22 #598D1F
square
#1F8D8A #531F8D #8D1F22 #598D1F
split-complementary
#1F8D8A #8D1F59 #8D531F
monochromatic
#092928 #145B59 #1F8D8A #2ABFBB #4ED8D4

Accessibility & contrast

On white

4.01
#1F8D8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#1F8D8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8D8A
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8D8A#FFFFFF#000000##000000
##1F8D8A1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#84858A
Deuteranopia (green-blind)
#757A8B
Tritanopia (blue-blind)
#00918C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #1f8d8a;
/* rgb */ color: rgb(31, 141, 138);
/* oklch */ color: oklch(58.5% 0.093 192.1);
Tailwind
colors: {
  custom: {
    50: '#70afac',
    500: '#1f8d8a',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d8a;
$custom-light: #70afac;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d8a",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 138
  },
  "hsl": {
    "h": 178.364,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58495,
    "c": 0.0931,
    "h": 192.1
  },
  "luminance": 0.21176
}

Semantic roles & 50–950 ramp

primary
#1F8D8A
secondary
#BB4D50
accent
#4145E7
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #1F8D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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