#1F8D7F#1F8D7F

#1F8D7F is a mid, moderate teal. Relative luminance 0.209; OKLCH L 58.1% C 0.096 H 182.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#1F8D7F
RGBrgb(31, 141, 127)
HSLhsl(172, 64%, 34%)
HSVhsv(172, 78%, 55%)
CMYKcmyk(78%, 0%, 9.9%, 44.7%)
CIE-LABlab(52.81, -33.04, -1.11)
CIE-LCHlch(52.81, 33.06, 181.92°)
OKLaboklab(58.12% -0.0963 -0.0035)
OKLCHoklch(58.12% 0.096 182.1)
XYZxyz(13.9188, 20.8717, 23.3696)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D7F #8D1F2D
analogous
#1F8D48 #1F8D7F #1F648D
triadic
#1F8D7F #7F1F8D #8D7F1F
tetradic
#1F8D7F #481F8D #8D1F2D #648D1F
square
#1F8D7F #481F8D #8D1F2D #648D1F
split-complementary
#1F8D7F #8D1F64 #8D481F
monochromatic
#092925 #145B52 #1F8D7F #2ABFAC #4ED8C7

Accessibility & contrast

On white

4.06
#1F8D7F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#1F8D7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8D7F
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8D7F#FFFFFF#000000##000000
##1F8D7F1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#86847E
Deuteranopia (green-blind)
#777A80
Tritanopia (blue-blind)
#009089
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #1f8d7f;
/* rgb */ color: rgb(31, 141, 127);
/* oklch */ color: oklch(58.1% 0.096 182.1);
Tailwind
colors: {
  custom: {
    50: '#6fafa4',
    500: '#1f8d7f',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d7f;
$custom-light: #6fafa4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d7f",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 127
  },
  "hsl": {
    "h": 172.364,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58116,
    "c": 0.09636,
    "h": 182.1
  },
  "luminance": 0.20873
}

Semantic roles & 50–950 ramp

primary
#1F8D7F
secondary
#BB4D5B
accent
#4156E7
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#08100F
muted
#7B7F7F

Preview Lab

Preview with #1F8D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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