#1F8977#1F8977

#1F8977 is a mid, moderate teal. Relative luminance 0.195; OKLCH L 56.8% C 0.096 H 178.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#1F8977
RGBrgb(31, 137, 119)
HSLhsl(170, 63%, 33%)
HSVhsv(170, 77%, 54%)
CMYKcmyk(77.4%, 0%, 13.1%, 46.3%)
CIE-LABlab(51.28, -33.46, 1.30)
CIE-LCHlch(51.28, 33.49, 177.77°)
OKLaboklab(56.79% -0.096 0.0029)
OKLCHoklch(56.79% 0.096 178.3)
XYZxyz(12.8388, 19.5130, 20.5389)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8977 #891F31
analogous
#1F8942 #1F8977 #1F6689
triadic
#1F8977 #771F89 #89771F
tetradic
#1F8977 #421F89 #891F31 #66891F
square
#1F8977 #421F89 #891F31 #66891F
split-complementary
#1F8977 #891F66 #89421F
monochromatic
#082520 #14574C #1F8977 #2ABBA2 #4CD6BF

Accessibility & contrast

On white

4.28
#1F8977 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#1F8977 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8977
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8977#FFFFFF#000000##000000
##1F89771.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#838076
Deuteranopia (green-blind)
#757678
Tritanopia (blue-blind)
#008B84
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f8977;
/* rgb */ color: rgb(31, 137, 119);
/* oklch */ color: oklch(56.8% 0.096 178.3);
Tailwind
colors: {
  custom: {
    50: '#6dac9e',
    500: '#1f8977',
    950: '#000000',
  },
}
SCSS
$custom: #1f8977;
$custom-light: #6dac9e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8977",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 119
  },
  "hsl": {
    "h": 169.811,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56795,
    "c": 0.09609,
    "h": 178.3
  },
  "luminance": 0.19515
}

Semantic roles & 50–950 ramp

primary
#1F8977
secondary
#B94B5D
accent
#425EE6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #1F8977

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

Preview Lab → · Contrast checker → · Palette generator →

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