#1F8D7B#1F8D7B

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

Color values

HEX#1F8D7B
RGBrgb(31, 141, 123)
HSLhsl(170, 64%, 34%)
HSVhsv(170, 78%, 55%)
CMYKcmyk(78%, 0%, 12.8%, 44.7%)
CIE-LABlab(52.70, -34.18, 1.04)
CIE-LCHlch(52.70, 34.20, 178.26°)
OKLaboklab(57.99% -0.0983 0.0022)
OKLCHoklch(57.99% 0.098 178.7)
XYZxyz(13.6633, 20.7695, 22.0238)
Luminance0.2077 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D7B #8D1F31
analogous
#1F8D44 #1F8D7B #1F688D
triadic
#1F8D7B #7B1F8D #8D7B1F
tetradic
#1F8D7B #441F8D #8D1F31 #688D1F
square
#1F8D7B #441F8D #8D1F31 #688D1F
split-complementary
#1F8D7B #8D1F68 #8D441F
monochromatic
#092923 #145B4F #1F8D7B #2ABFA7 #4ED8C2

Accessibility & contrast

On white

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

On black

5.15
#1F8D7B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8D7B
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8D7B#FFFFFF#000000##000000
##1F8D7B1.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f8d7b;
/* rgb */ color: rgb(31, 141, 123);
/* oklch */ color: oklch(58.0% 0.098 178.7);
Tailwind
colors: {
  custom: {
    50: '#6eafa1',
    500: '#1f8d7b',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d7b;
$custom-light: #6eafa1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d7b",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 123
  },
  "hsl": {
    "h": 170.182,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57987,
    "c": 0.09828,
    "h": 178.7
  },
  "luminance": 0.20771
}

Semantic roles & 50–950 ramp

primary
#1F8D7B
secondary
#BB4D5F
accent
#415CE7
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #1F8D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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