#1F877A#1F877A

#1F877A is a mid, moderate teal. Relative luminance 0.190; OKLCH L 56.4% C 0.093 H 182.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#1F877A
RGBrgb(31, 135, 122)
HSLhsl(173, 63%, 33%)
HSVhsv(173, 77%, 53%)
CMYKcmyk(77%, 0%, 9.6%, 47.1%)
CIE-LABlab(50.71, -31.67, -1.27)
CIE-LCHlch(50.71, 31.70, 182.30°)
OKLaboklab(56.36% -0.0925 -0.004)
OKLCHoklch(56.36% 0.093 182.4)
XYZxyz(12.7402, 19.0228, 21.4089)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F877A #871F2C
analogous
#1F8746 #1F877A #1F6087
triadic
#1F877A #7A1F87 #877A1F
tetradic
#1F877A #461F87 #871F2C #60871F
square
#1F877A #461F87 #871F2C #60871F
split-complementary
#1F877A #871F60 #87461F
monochromatic
#082320 #14554D #1F877A #2AB9A7 #4BD6C4

Accessibility & contrast

On white

4.37
#1F877A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#1F877A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F877A
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F877A#FFFFFF#000000##000000
##1F877A1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#807F7A
Deuteranopia (green-blind)
#72747B
Tritanopia (blue-blind)
#008A83
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f877a;
/* rgb */ color: rgb(31, 135, 122);
/* oklch */ color: oklch(56.4% 0.093 182.4);
Tailwind
colors: {
  custom: {
    50: '#6daaa0',
    500: '#1f877a',
    950: '#000000',
  },
}
SCSS
$custom: #1f877a;
$custom-light: #6daaa0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f877a",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 122
  },
  "hsl": {
    "h": 172.5,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56359,
    "c": 0.09255,
    "h": 182.4
  },
  "luminance": 0.19024
}

Semantic roles & 50–950 ramp

primary
#1F877A
secondary
#B84A57
accent
#4257E6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #1F877A

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

Preview Lab → · Contrast checker → · Palette generator →

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