#1F8979#1F8979

#1F8979 is a mid, moderate teal. Relative luminance 0.196; OKLCH L 56.9% C 0.095 H 180.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#1F8979
RGBrgb(31, 137, 121)
HSLhsl(171, 63%, 33%)
HSVhsv(171, 77%, 54%)
CMYKcmyk(77.4%, 0%, 11.7%, 46.3%)
CIE-LABlab(51.34, -32.90, 0.22)
CIE-LCHlch(51.34, 32.90, 179.62°)
OKLaboklab(56.86% -0.0951 0)
OKLCHoklch(56.86% 0.095 180)
XYZxyz(12.9602, 19.5615, 21.1782)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8979 #891F2F
analogous
#1F8944 #1F8979 #1F6489
triadic
#1F8979 #791F89 #89791F
tetradic
#1F8979 #441F89 #891F2F #64891F
square
#1F8979 #441F89 #891F2F #64891F
split-complementary
#1F8979 #891F64 #89441F
monochromatic
#082521 #14574D #1F8979 #2ABBA5 #4CD6C2

Accessibility & contrast

On white

4.27
#1F8979 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#1F8979 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8979
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8979#FFFFFF#000000##000000
##1F89791.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#838078
Deuteranopia (green-blind)
#75767A
Tritanopia (blue-blind)
#008B84
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f8979;
/* rgb */ color: rgb(31, 137, 121);
/* oklch */ color: oklch(56.9% 0.095 180.0);
Tailwind
colors: {
  custom: {
    50: '#6dac9f',
    500: '#1f8979',
    950: '#000000',
  },
}
SCSS
$custom: #1f8979;
$custom-light: #6dac9f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8979",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 121
  },
  "hsl": {
    "h": 170.943,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56859,
    "c": 0.09506,
    "h": 180
  },
  "luminance": 0.19563
}

Semantic roles & 50–950 ramp

primary
#1F8979
secondary
#B94B5B
accent
#425AE6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #1F8979

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

Preview Lab → · Contrast checker → · Palette generator →

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