#1F8770#1F8770

#1F8770 is a mid, moderate teal. Relative luminance 0.188; OKLCH L 56.0% C 0.098 H 173.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#1F8770
RGBrgb(31, 135, 112)
HSLhsl(167, 63%, 33%)
HSVhsv(167, 77%, 53%)
CMYKcmyk(77%, 0%, 17%, 47.1%)
CIE-LABlab(50.44, -34.48, 4.15)
CIE-LCHlch(50.44, 34.73, 173.13°)
OKLaboklab(56.04% -0.0974 0.0104)
OKLCHoklch(56.04% 0.098 173.9)
XYZxyz(12.1522, 18.7876, 18.3120)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8770 #871F36
analogous
#1F873C #1F8770 #1F6A87
triadic
#1F8770 #701F87 #87701F
tetradic
#1F8770 #3C1F87 #871F36 #6A871F
square
#1F8770 #3C1F87 #871F36 #6A871F
split-complementary
#1F8770 #871F6A #873C1F
monochromatic
#08231D #145547 #1F8770 #2AB999 #4BD6B7

Accessibility & contrast

On white

4.41
#1F8770 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#1F8770 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8770
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8770#FFFFFF#000000##000000
##1F87701.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#827E6F
Deuteranopia (green-blind)
#757472
Tritanopia (blue-blind)
#008980
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1f8770;
/* rgb */ color: rgb(31, 135, 112);
/* oklch */ color: oklch(56.0% 0.098 173.9);
Tailwind
colors: {
  custom: {
    50: '#6caa99',
    500: '#1f8770',
    950: '#000000',
  },
}
SCSS
$custom: #1f8770;
$custom-light: #6caa99;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8770",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 112
  },
  "hsl": {
    "h": 166.731,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56042,
    "c": 0.09798,
    "h": 173.9
  },
  "luminance": 0.18789
}

Semantic roles & 50–950 ramp

primary
#1F8770
secondary
#B84A62
accent
#4266E6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100D
muted
#7B7F7E

Preview Lab

Preview with #1F8770

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

Preview Lab → · Contrast checker → · Palette generator →

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