#1F876B#1F876B

#1F876B is a mid, moderate teal. Relative luminance 0.187; OKLCH L 55.9% C 0.101 H 170.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#1F876B
RGBrgb(31, 135, 107)
HSLhsl(164, 63%, 33%)
HSVhsv(164, 77%, 53%)
CMYKcmyk(77%, 0%, 20.7%, 47.1%)
CIE-LABlab(50.31, -35.81, 6.87)
CIE-LCHlch(50.31, 36.47, 169.14°)
OKLaboklab(55.9% -0.0999 0.0175)
OKLCHoklch(55.9% 0.101 170)
XYZxyz(11.8815, 18.6794, 16.8864)
Luminance0.1868 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F876B #871F3B
analogous
#1F8737 #1F876B #1F6F87
triadic
#1F876B #6B1F87 #876B1F
tetradic
#1F876B #371F87 #871F3B #6F871F
square
#1F876B #371F87 #871F3B #6F871F
split-complementary
#1F876B #871F6F #87371F
monochromatic
#08231C #145544 #1F876B #2AB992 #4BD6B0

Accessibility & contrast

On white

4.43
#1F876B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#1F876B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F876B
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F876B#FFFFFF#000000##000000
##1F876B1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#837D6A
Deuteranopia (green-blind)
#76746D
Tritanopia (blue-blind)
#00887F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1f876b;
/* rgb */ color: rgb(31, 135, 107);
/* oklch */ color: oklch(55.9% 0.101 170.0);
Tailwind
colors: {
  custom: {
    50: '#6cab95',
    500: '#1f876b',
    950: '#000000',
  },
}
SCSS
$custom: #1f876b;
$custom-light: #6cab95;
$custom-dark: #000000;
JSON
{
  "hex": "#1f876b",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 107
  },
  "hsl": {
    "h": 163.846,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55895,
    "c": 0.10147,
    "h": 170
  },
  "luminance": 0.18681
}

Semantic roles & 50–950 ramp

primary
#1F876B
secondary
#B84A67
accent
#426EE6
background
#F7FAF9
surface
#EDF4F1
border
#C8CECB
text
#08100D
muted
#7B7F7E

Preview Lab

Preview with #1F876B

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

Preview Lab → · Contrast checker → · Palette generator →

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