#1F877F#1F877F

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

Color values

HEX#1F877F
RGBrgb(31, 135, 127)
HSLhsl(175, 63%, 33%)
HSVhsv(175, 77%, 53%)
CMYKcmyk(77%, 0%, 5.9%, 47.1%)
CIE-LABlab(50.86, -30.20, -3.97)
CIE-LCHlch(50.86, 30.46, 187.50°)
OKLaboklab(56.53% -0.09 -0.0112)
OKLCHoklch(56.53% 0.091 187.1)
XYZxyz(13.0580, 19.1500, 23.0827)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F877F #871F27
analogous
#1F874B #1F877F #1F5B87
triadic
#1F877F #7F1F87 #877F1F
tetradic
#1F877F #4B1F87 #871F27 #5B871F
square
#1F877F #4B1F87 #871F27 #5B871F
split-complementary
#1F877F #871F5B #874B1F
monochromatic
#082321 #145550 #1F877F #2AB9AE #4BD6CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F877F#FFFFFF#000000##000000
##1F877F1.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)
#7F7F7F
Deuteranopia (green-blind)
#717580
Tritanopia (blue-blind)
#008A84
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f877f;
/* rgb */ color: rgb(31, 135, 127);
/* oklch */ color: oklch(56.5% 0.091 187.1);
Tailwind
colors: {
  custom: {
    50: '#6eaaa4',
    500: '#1f877f',
    950: '#000000',
  },
}
SCSS
$custom: #1f877f;
$custom-light: #6eaaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f877f",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 127
  },
  "hsl": {
    "h": 175.385,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56529,
    "c": 0.09074,
    "h": 187.1
  },
  "luminance": 0.19152
}

Semantic roles & 50–950 ramp

primary
#1F877F
secondary
#B84A52
accent
#424FE6
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#08100F
muted
#7B7F7F

Preview Lab

Preview with #1F877F

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

Preview Lab → · Contrast checker → · Palette generator →

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