#1F9877#1F9877

#1F9877 is a mid, moderate teal. Relative luminance 0.241; OKLCH L 60.8% C 0.114 H 169.2°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#1F9877
RGBrgb(31, 152, 119)
HSLhsl(164, 66%, 36%)
HSVhsv(164, 80%, 60%)
CMYKcmyk(79.6%, 0%, 21.7%, 40.4%)
CIE-LABlab(56.17, -40.13, 8.32)
CIE-LCHlch(56.17, 40.98, 168.28°)
OKLaboklab(60.79% -0.1116 0.0213)
OKLCHoklch(60.79% 0.114 169.2)
XYZxyz(15.1213, 24.0778, 21.2997)
Luminance0.2408 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9877 #981F40
analogous
#1F983A #1F9877 #1F7C98
triadic
#1F9877 #771F98 #98771F
tetradic
#1F9877 #3A1F98 #981F40 #7C981F
square
#1F9877 #3A1F98 #981F40 #7C981F
split-complementary
#1F9877 #981F7C #983A1F
monochromatic
#0A3227 #15654F #1F9877 #29CB9F #55DCB7

Accessibility & contrast

On white

3.61
#1F9877 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#1F9877 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9877
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9877#FFFFFF#000000##000000
##1F98771.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948D75
Deuteranopia (green-blind)
#858279
Tritanopia (blue-blind)
#00998F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #1f9877;
/* rgb */ color: rgb(31, 152, 119);
/* oklch */ color: oklch(60.8% 0.114 169.2);
Tailwind
colors: {
  custom: {
    50: '#70b79e',
    500: '#1f9877',
    950: '#000000',
  },
}
SCSS
$custom: #1f9877;
$custom-light: #70b79e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9877",
  "rgb": {
    "r": 31,
    "g": 152,
    "b": 119
  },
  "hsl": {
    "h": 163.636,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60794,
    "c": 0.1136,
    "h": 169.2
  },
  "luminance": 0.2408
}

Semantic roles & 50–950 ramp

primary
#1F9877
secondary
#C05371
accent
#3F6DE9
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #1F9877

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

Preview Lab → · Contrast checker → · Palette generator →

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