#1F876A#1F876A

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

Color values

HEX#1F876A
RGBrgb(31, 135, 106)
HSLhsl(163, 63%, 33%)
HSVhsv(163, 77%, 53%)
CMYKcmyk(77%, 0%, 21.5%, 47.1%)
CIE-LABlab(50.29, -36.07, 7.42)
CIE-LCHlch(50.29, 36.83, 168.38°)
OKLaboklab(55.87% -0.1004 0.019)
OKLCHoklch(55.87% 0.102 169.3)
XYZxyz(11.8292, 18.6584, 16.6109)
Luminance0.1866 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F876A #871F3C
analogous
#1F8736 #1F876A #1F7087
triadic
#1F876A #6A1F87 #876A1F
tetradic
#1F876A #361F87 #871F3C #70871F
square
#1F876A #361F87 #871F3C #70871F
split-complementary
#1F876A #871F70 #87361F
monochromatic
#08231C #145543 #1F876A #2AB991 #4BD6AF

Accessibility & contrast

On white

4.44
#1F876A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#1F876A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F876A
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F876A#FFFFFF#000000##000000
##1F876A1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f876a;
/* rgb */ color: rgb(31, 135, 106);
/* oklch */ color: oklch(55.9% 0.102 169.3);
Tailwind
colors: {
  custom: {
    50: '#6cab94',
    500: '#1f876a',
    950: '#000000',
  },
}
SCSS
$custom: #1f876a;
$custom-light: #6cab94;
$custom-dark: #000000;
JSON
{
  "hex": "#1f876a",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 106
  },
  "hsl": {
    "h": 163.269,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55866,
    "c": 0.10221,
    "h": 169.3
  },
  "luminance": 0.1866
}

Semantic roles & 50–950 ramp

primary
#1F876A
secondary
#B84A68
accent
#4270E6
background
#F7FAF9
surface
#EDF4F1
border
#C8CECB
text
#08100D
muted
#7B7F7E

Preview Lab

Preview with #1F876A

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

Preview Lab → · Contrast checker → · Palette generator →

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