#1F8D7E#1F8D7E

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

Color values

HEX#1F8D7E
RGBrgb(31, 141, 126)
HSLhsl(172, 64%, 34%)
HSVhsv(172, 78%, 55%)
CMYKcmyk(78%, 0%, 10.6%, 44.7%)
CIE-LABlab(52.78, -33.33, -0.57)
CIE-LCHlch(52.78, 33.33, 180.99°)
OKLaboklab(58.08% -0.0968 -0.0021)
OKLCHoklch(58.08% 0.097 181.2)
XYZxyz(13.8540, 20.8457, 23.0281)
Luminance0.2085 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D7E #8D1F2E
analogous
#1F8D47 #1F8D7E #1F658D
triadic
#1F8D7E #7E1F8D #8D7E1F
tetradic
#1F8D7E #471F8D #8D1F2E #658D1F
square
#1F8D7E #471F8D #8D1F2E #658D1F
split-complementary
#1F8D7E #8D1F65 #8D471F
monochromatic
#092924 #145B51 #1F8D7E #2ABFAB #4ED8C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8D7E#FFFFFF#000000##000000
##1F8D7E1.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)
#86847D
Deuteranopia (green-blind)
#78797F
Tritanopia (blue-blind)
#009088
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #1f8d7e;
/* rgb */ color: rgb(31, 141, 126);
/* oklch */ color: oklch(58.1% 0.097 181.2);
Tailwind
colors: {
  custom: {
    50: '#6fafa3',
    500: '#1f8d7e',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d7e;
$custom-light: #6fafa3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d7e",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 126
  },
  "hsl": {
    "h": 171.818,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58083,
    "c": 0.09681,
    "h": 181.2
  },
  "luminance": 0.20847
}

Semantic roles & 50–950 ramp

primary
#1F8D7E
secondary
#BB4D5C
accent
#4157E7
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#08100F
muted
#7B7F7F

Preview Lab

Preview with #1F8D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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