#1F8876#1F8876

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

Color values

HEX#1F8876
RGBrgb(31, 136, 118)
HSLhsl(170, 63%, 33%)
HSVhsv(170, 77%, 53%)
CMYKcmyk(77.2%, 0%, 13.2%, 46.7%)
CIE-LABlab(50.93, -33.28, 1.37)
CIE-LCHlch(50.93, 33.31, 177.65°)
OKLaboklab(56.5% -0.0955 0.0031)
OKLCHoklch(56.5% 0.096 178.1)
XYZxyz(12.6376, 19.2061, 20.1771)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8876 #881F31
analogous
#1F8841 #1F8876 #1F6688
triadic
#1F8876 #761F88 #88761F
tetradic
#1F8876 #411F88 #881F31 #66881F
square
#1F8876 #411F88 #881F31 #66881F
split-complementary
#1F8876 #881F66 #88411F
monochromatic
#082420 #14564B #1F8876 #2ABAA1 #4BD6BE

Accessibility & contrast

On white

4.34
#1F8876 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#1F8876 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8876
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8876#FFFFFF#000000##000000
##1F88761.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#827F75
Deuteranopia (green-blind)
#747577
Tritanopia (blue-blind)
#008A83
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f8876;
/* rgb */ color: rgb(31, 136, 118);
/* oklch */ color: oklch(56.5% 0.096 178.1);
Tailwind
colors: {
  custom: {
    50: '#6dab9d',
    500: '#1f8876',
    950: '#000000',
  },
}
SCSS
$custom: #1f8876;
$custom-light: #6dab9d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8876",
  "rgb": {
    "r": 31,
    "g": 136,
    "b": 118
  },
  "hsl": {
    "h": 169.714,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56496,
    "c": 0.09554,
    "h": 178.1
  },
  "luminance": 0.19208
}

Semantic roles & 50–950 ramp

primary
#1F8876
secondary
#B94A5D
accent
#425EE6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #1F8876

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

Preview Lab → · Contrast checker → · Palette generator →

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