#1F9879#1F9879

#1F9879 is a mid, moderate teal. Relative luminance 0.241; OKLCH L 60.9% C 0.112 H 170.5°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#1F9879
RGBrgb(31, 152, 121)
HSLhsl(165, 66%, 36%)
HSVhsv(165, 80%, 60%)
CMYKcmyk(79.6%, 0%, 20.4%, 40.4%)
CIE-LABlab(56.21, -39.62, 7.26)
CIE-LCHlch(56.21, 40.28, 169.62°)
OKLaboklab(60.85% -0.1106 0.0185)
OKLCHoklch(60.85% 0.112 170.5)
XYZxyz(15.2426, 24.1264, 21.9390)
Luminance0.2413 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9879 #981F3E
analogous
#1F983C #1F9879 #1F7A98
triadic
#1F9879 #791F98 #98791F
tetradic
#1F9879 #3C1F98 #981F3E #7A981F
square
#1F9879 #3C1F98 #981F3E #7A981F
split-complementary
#1F9879 #981F7A #983C1F
monochromatic
#0A3228 #156551 #1F9879 #29CBA1 #55DCBA

Accessibility & contrast

On white

3.60
#1F9879 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#1F9879 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9879
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9879#FFFFFF#000000##000000
##1F98791.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938D77
Deuteranopia (green-blind)
#84827B
Tritanopia (blue-blind)
#00998F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #1f9879;
/* rgb */ color: rgb(31, 152, 121);
/* oklch */ color: oklch(60.9% 0.112 170.5);
Tailwind
colors: {
  custom: {
    50: '#70b79f',
    500: '#1f9879',
    950: '#000000',
  },
}
SCSS
$custom: #1f9879;
$custom-light: #70b79f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9879",
  "rgb": {
    "r": 31,
    "g": 152,
    "b": 121
  },
  "hsl": {
    "h": 164.628,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.6085,
    "c": 0.11214,
    "h": 170.5
  },
  "luminance": 0.24128
}

Semantic roles & 50–950 ramp

primary
#1F9879
secondary
#C0536F
accent
#3F6AE9
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #1F9879

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

Preview Lab → · Contrast checker → · Palette generator →

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