#1F876D#1F876D

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

Color values

HEX#1F876D
RGBrgb(31, 135, 109)
HSLhsl(165, 63%, 33%)
HSVhsv(165, 77%, 53%)
CMYKcmyk(77%, 0%, 19.3%, 47.1%)
CIE-LABlab(50.36, -35.29, 5.78)
CIE-LCHlch(50.36, 35.76, 170.69°)
OKLaboklab(55.95% -0.0989 0.0147)
OKLCHoklch(55.95% 0.1 171.5)
XYZxyz(11.9879, 18.7219, 17.4469)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F876D #871F39
analogous
#1F8739 #1F876D #1F6D87
triadic
#1F876D #6D1F87 #876D1F
tetradic
#1F876D #391F87 #871F39 #6D871F
square
#1F876D #391F87 #871F39 #6D871F
split-complementary
#1F876D #871F6D #87391F
monochromatic
#08231D #145545 #1F876D #2AB995 #4BD6B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F876D#FFFFFF#000000##000000
##1F876D1.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)
#837E6C
Deuteranopia (green-blind)
#75746F
Tritanopia (blue-blind)
#008880
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1f876d;
/* rgb */ color: rgb(31, 135, 109);
/* oklch */ color: oklch(56.0% 0.100 171.5);
Tailwind
colors: {
  custom: {
    50: '#6cab96',
    500: '#1f876d',
    950: '#000000',
  },
}
SCSS
$custom: #1f876d;
$custom-light: #6cab96;
$custom-dark: #000000;
JSON
{
  "hex": "#1f876d",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 109
  },
  "hsl": {
    "h": 165,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55953,
    "c": 0.10002,
    "h": 171.5
  },
  "luminance": 0.18723
}

Semantic roles & 50–950 ramp

primary
#1F876D
secondary
#B84A65
accent
#426BE6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100D
muted
#7B7F7E

Preview Lab

Preview with #1F876D

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

Preview Lab → · Contrast checker → · Palette generator →

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