#1F8D7D#1F8D7D

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

Color values

HEX#1F8D7D
RGBrgb(31, 141, 125)
HSLhsl(171, 64%, 34%)
HSVhsv(171, 78%, 55%)
CMYKcmyk(78%, 0%, 11.3%, 44.7%)
CIE-LABlab(52.75, -33.61, -0.04)
CIE-LCHlch(52.75, 33.61, 180.06°)
OKLaboklab(58.05% -0.0973 -0.0007)
OKLCHoklch(58.05% 0.097 180.4)
XYZxyz(13.7898, 20.8200, 22.6900)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D7D #8D1F2F
analogous
#1F8D46 #1F8D7D #1F668D
triadic
#1F8D7D #7D1F8D #8D7D1F
tetradic
#1F8D7D #461F8D #8D1F2F #668D1F
square
#1F8D7D #461F8D #8D1F2F #668D1F
split-complementary
#1F8D7D #8D1F66 #8D461F
monochromatic
#092924 #145B51 #1F8D7D #2ABFA9 #4ED8C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8D7D#FFFFFF#000000##000000
##1F8D7D1.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)
#87847C
Deuteranopia (green-blind)
#78797E
Tritanopia (blue-blind)
#009088
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #1f8d7d;
/* rgb */ color: rgb(31, 141, 125);
/* oklch */ color: oklch(58.1% 0.097 180.4);
Tailwind
colors: {
  custom: {
    50: '#6eafa2',
    500: '#1f8d7d',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d7d;
$custom-light: #6eafa2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d7d",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 125
  },
  "hsl": {
    "h": 171.273,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58051,
    "c": 0.09728,
    "h": 180.4
  },
  "luminance": 0.20822
}

Semantic roles & 50–950 ramp

primary
#1F8D7D
secondary
#BB4D5D
accent
#4159E7
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100F
muted
#7B7F7E

Preview Lab

Preview with #1F8D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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