#1F8A79#1F8A79

#1F8A79 is a mid, moderate teal. Relative luminance 0.198; OKLCH L 57.1% C 0.096 H 179.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#1F8A79
RGBrgb(31, 138, 121)
HSLhsl(170, 63%, 33%)
HSVhsv(170, 78%, 54%)
CMYKcmyk(77.5%, 0%, 12.3%, 45.9%)
CIE-LABlab(51.66, -33.36, 0.70)
CIE-LCHlch(51.66, 33.37, 178.81°)
OKLaboklab(57.13% -0.0961 0.0013)
OKLCHoklch(57.13% 0.096 179.2)
XYZxyz(13.1030, 19.8471, 21.2258)
Luminance0.1985 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A79 #8A1F30
analogous
#1F8A43 #1F8A79 #1F658A
triadic
#1F8A79 #791F8A #8A791F
tetradic
#1F8A79 #431F8A #8A1F30 #658A1F
square
#1F8A79 #431F8A #8A1F30 #658A1F
split-complementary
#1F8A79 #8A1F65 #8A431F
monochromatic
#092621 #14584D #1F8A79 #2ABCA5 #4CD7C1

Accessibility & contrast

On white

4.23
#1F8A79 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#1F8A79 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A79
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A79#FFFFFF#000000##000000
##1F8A791.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#848178
Deuteranopia (green-blind)
#76777A
Tritanopia (blue-blind)
#008C85
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1f8a79;
/* rgb */ color: rgb(31, 138, 121);
/* oklch */ color: oklch(57.1% 0.096 179.2);
Tailwind
colors: {
  custom: {
    50: '#6ead9f',
    500: '#1f8a79',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a79;
$custom-light: #6ead9f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a79",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 121
  },
  "hsl": {
    "h": 170.467,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57125,
    "c": 0.09612,
    "h": 179.2
  },
  "luminance": 0.19849
}

Semantic roles & 50–950 ramp

primary
#1F8A79
secondary
#BA4B5D
accent
#415CE6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #1F8A79

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

Preview Lab → · Contrast checker → · Palette generator →

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