#1F8B79#1F8B79

#1F8B79 is a mid, moderate teal. Relative luminance 0.201; OKLCH L 57.4% C 0.097 H 178.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#1F8B79
RGBrgb(31, 139, 121)
HSLhsl(170, 64%, 33%)
HSVhsv(170, 78%, 55%)
CMYKcmyk(77.7%, 0%, 12.9%, 45.5%)
CIE-LABlab(51.99, -33.82, 1.17)
CIE-LCHlch(51.99, 33.84, 178.02°)
OKLaboklab(57.39% -0.0972 0.0026)
OKLCHoklch(57.39% 0.097 178.5)
XYZxyz(13.2471, 20.1354, 21.2738)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8B79 #8B1F31
analogous
#1F8B43 #1F8B79 #1F678B
triadic
#1F8B79 #791F8B #8B791F
tetradic
#1F8B79 #431F8B #8B1F31 #678B1F
square
#1F8B79 #431F8B #8B1F31 #678B1F
split-complementary
#1F8B79 #8B1F67 #8B431F
monochromatic
#092722 #14594D #1F8B79 #2ABDA5 #4DD7C0

Accessibility & contrast

On white

4.18
#1F8B79 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#1F8B79 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8B79
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8B79#FFFFFF#000000##000000
##1F8B791.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#858278
Deuteranopia (green-blind)
#77787A
Tritanopia (blue-blind)
#008D86
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1f8b79;
/* rgb */ color: rgb(31, 139, 121);
/* oklch */ color: oklch(57.4% 0.097 178.5);
Tailwind
colors: {
  custom: {
    50: '#6ead9f',
    500: '#1f8b79',
    950: '#000000',
  },
}
SCSS
$custom: #1f8b79;
$custom-light: #6ead9f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8b79",
  "rgb": {
    "r": 31,
    "g": 139,
    "b": 121
  },
  "hsl": {
    "h": 170,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57391,
    "c": 0.09719,
    "h": 178.5
  },
  "luminance": 0.20137
}

Semantic roles & 50–950 ramp

primary
#1F8B79
secondary
#BA4C5E
accent
#415DE7
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #1F8B79

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

Preview Lab → · Contrast checker → · Palette generator →

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