#1F877E#1F877E

#1F877E is a mid, moderate teal. Relative luminance 0.191; OKLCH L 56.5% C 0.091 H 186.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#1F877E
RGBrgb(31, 135, 126)
HSLhsl(175, 63%, 33%)
HSVhsv(175, 77%, 53%)
CMYKcmyk(77%, 0%, 6.7%, 47.1%)
CIE-LABlab(50.83, -30.50, -3.44)
CIE-LCHlch(50.83, 30.69, 186.43°)
OKLaboklab(56.49% -0.0905 -0.0098)
OKLCHoklch(56.49% 0.091 186.2)
XYZxyz(12.9931, 19.1240, 22.7411)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F877E #871F28
analogous
#1F874A #1F877E #1F5C87
triadic
#1F877E #7E1F87 #877E1F
tetradic
#1F877E #4A1F87 #871F28 #5C871F
square
#1F877E #4A1F87 #871F28 #5C871F
split-complementary
#1F877E #871F5C #874A1F
monochromatic
#082321 #145550 #1F877E #2AB9AC #4BD6CA

Accessibility & contrast

On white

4.35
#1F877E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#1F877E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F877E
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F877E#FFFFFF#000000##000000
##1F877E1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#807F7E
Deuteranopia (green-blind)
#71757F
Tritanopia (blue-blind)
#008A84
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f877e;
/* rgb */ color: rgb(31, 135, 126);
/* oklch */ color: oklch(56.5% 0.091 186.2);
Tailwind
colors: {
  custom: {
    50: '#6eaaa3',
    500: '#1f877e',
    950: '#000000',
  },
}
SCSS
$custom: #1f877e;
$custom-light: #6eaaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f877e",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 126
  },
  "hsl": {
    "h": 174.808,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56494,
    "c": 0.09105,
    "h": 186.2
  },
  "luminance": 0.19126
}

Semantic roles & 50–950 ramp

primary
#1F877E
secondary
#B84A53
accent
#4250E6
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#08100F
muted
#7B7F7F

Preview Lab

Preview with #1F877E

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

Preview Lab → · Contrast checker → · Palette generator →

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