#1F876E#1F876E

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

Color values

HEX#1F876E
RGBrgb(31, 135, 110)
HSLhsl(166, 63%, 33%)
HSVhsv(166, 77%, 53%)
CMYKcmyk(77%, 0%, 18.5%, 47.1%)
CIE-LABlab(50.39, -35.02, 5.24)
CIE-LCHlch(50.39, 35.41, 171.49°)
OKLaboklab(55.98% -0.0984 0.0133)
OKLCHoklch(55.98% 0.099 172.3)
XYZxyz(12.0420, 18.7436, 17.7320)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F876E #871F38
analogous
#1F873A #1F876E #1F6C87
triadic
#1F876E #6E1F87 #876E1F
tetradic
#1F876E #3A1F87 #871F38 #6C871F
square
#1F876E #3A1F87 #871F38 #6C871F
split-complementary
#1F876E #871F6C #873A1F
monochromatic
#08231D #145545 #1F876E #2AB997 #4BD6B4

Accessibility & contrast

On white

4.42
#1F876E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#1F876E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F876E
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F876E#FFFFFF#000000##000000
##1F876E1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#837E6D
Deuteranopia (green-blind)
#757470
Tritanopia (blue-blind)
#008880
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1f876e;
/* rgb */ color: rgb(31, 135, 110);
/* oklch */ color: oklch(56.0% 0.099 172.3);
Tailwind
colors: {
  custom: {
    50: '#6cab97',
    500: '#1f876e',
    950: '#000000',
  },
}
SCSS
$custom: #1f876e;
$custom-light: #6cab97;
$custom-dark: #000000;
JSON
{
  "hex": "#1f876e",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 110
  },
  "hsl": {
    "h": 165.577,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55982,
    "c": 0.09932,
    "h": 172.3
  },
  "luminance": 0.18745
}

Semantic roles & 50–950 ramp

primary
#1F876E
secondary
#B84A64
accent
#4269E6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100D
muted
#7B7F7E

Preview Lab

Preview with #1F876E

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

Preview Lab → · Contrast checker → · Palette generator →

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