#1F877B#1F877B

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

Color values

HEX#1F877B
RGBrgb(31, 135, 123)
HSLhsl(173, 63%, 33%)
HSVhsv(173, 77%, 53%)
CMYKcmyk(77%, 0%, 8.9%, 47.1%)
CIE-LABlab(50.74, -31.38, -1.82)
CIE-LCHlch(50.74, 31.43, 183.31°)
OKLaboklab(56.39% -0.092 -0.0054)
OKLCHoklch(56.39% 0.092 183.4)
XYZxyz(12.8025, 19.0478, 21.7369)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F877B #871F2B
analogous
#1F8747 #1F877B #1F5F87
triadic
#1F877B #7B1F87 #877B1F
tetradic
#1F877B #471F87 #871F2B #5F871F
square
#1F877B #471F87 #871F2B #5F871F
split-complementary
#1F877B #871F5F #87471F
monochromatic
#082320 #14554E #1F877B #2AB9A8 #4BD6C6

Accessibility & contrast

On white

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

On black

4.81
#1F877B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F877B
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F877B#FFFFFF#000000##000000
##1F877B1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f877b;
/* rgb */ color: rgb(31, 135, 123);
/* oklch */ color: oklch(56.4% 0.092 183.4);
Tailwind
colors: {
  custom: {
    50: '#6daaa1',
    500: '#1f877b',
    950: '#000000',
  },
}
SCSS
$custom: #1f877b;
$custom-light: #6daaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f877b",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 123
  },
  "hsl": {
    "h": 173.077,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56392,
    "c": 0.09214,
    "h": 183.4
  },
  "luminance": 0.19049
}

Semantic roles & 50–950 ramp

primary
#1F877B
secondary
#B84A56
accent
#4255E6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #1F877B

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

Preview Lab → · Contrast checker → · Palette generator →

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