#1F876C#1F876C

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

Color values

HEX#1F876C
RGBrgb(31, 135, 108)
HSLhsl(164, 63%, 33%)
HSVhsv(164, 77%, 53%)
CMYKcmyk(77%, 0%, 20%, 47.1%)
CIE-LABlab(50.33, -35.55, 6.33)
CIE-LCHlch(50.33, 36.11, 169.91°)
OKLaboklab(55.92% -0.0994 0.0161)
OKLCHoklch(55.92% 0.101 170.8)
XYZxyz(11.9344, 18.7005, 17.1650)
Luminance0.1870 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F876C #871F3A
analogous
#1F8738 #1F876C #1F6E87
triadic
#1F876C #6C1F87 #876C1F
tetradic
#1F876C #381F87 #871F3A #6E871F
square
#1F876C #381F87 #871F3A #6E871F
split-complementary
#1F876C #871F6E #87381F
monochromatic
#08231C #145544 #1F876C #2AB994 #4BD6B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F876C#FFFFFF#000000##000000
##1F876C1.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)
#837E6B
Deuteranopia (green-blind)
#75746E
Tritanopia (blue-blind)
#00887F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1f876c;
/* rgb */ color: rgb(31, 135, 108);
/* oklch */ color: oklch(55.9% 0.101 170.8);
Tailwind
colors: {
  custom: {
    50: '#6cab96',
    500: '#1f876c',
    950: '#000000',
  },
}
SCSS
$custom: #1f876c;
$custom-light: #6cab96;
$custom-dark: #000000;
JSON
{
  "hex": "#1f876c",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 108
  },
  "hsl": {
    "h": 164.423,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55923,
    "c": 0.10073,
    "h": 170.8
  },
  "luminance": 0.18702
}

Semantic roles & 50–950 ramp

primary
#1F876C
secondary
#B84A66
accent
#426DE6
background
#F7FAF9
surface
#EDF4F1
border
#C8CECB
text
#08100D
muted
#7B7F7E

Preview Lab

Preview with #1F876C

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

Preview Lab → · Contrast checker → · Palette generator →

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