#1F876F#1F876F

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

Color values

HEX#1F876F
RGBrgb(31, 135, 111)
HSLhsl(166, 63%, 33%)
HSVhsv(166, 77%, 53%)
CMYKcmyk(77%, 0%, 17.8%, 47.1%)
CIE-LABlab(50.41, -34.75, 4.70)
CIE-LCHlch(50.41, 35.07, 172.30°)
OKLaboklab(56.01% -0.0979 0.0119)
OKLCHoklch(56.01% 0.099 173.1)
XYZxyz(12.0968, 18.7655, 18.0204)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F876F #871F37
analogous
#1F873B #1F876F #1F6B87
triadic
#1F876F #6F1F87 #876F1F
tetradic
#1F876F #3B1F87 #871F37 #6B871F
square
#1F876F #3B1F87 #871F37 #6B871F
split-complementary
#1F876F #871F6B #873B1F
monochromatic
#08231D #145546 #1F876F #2AB998 #4BD6B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F876F#FFFFFF#000000##000000
##1F876F1.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)
#827E6E
Deuteranopia (green-blind)
#757471
Tritanopia (blue-blind)
#008880
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1f876f;
/* rgb */ color: rgb(31, 135, 111);
/* oklch */ color: oklch(56.0% 0.099 173.1);
Tailwind
colors: {
  custom: {
    50: '#6caa98',
    500: '#1f876f',
    950: '#000000',
  },
}
SCSS
$custom: #1f876f;
$custom-light: #6caa98;
$custom-dark: #000000;
JSON
{
  "hex": "#1f876f",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 111
  },
  "hsl": {
    "h": 166.154,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56012,
    "c": 0.09865,
    "h": 173.1
  },
  "luminance": 0.18767
}

Semantic roles & 50–950 ramp

primary
#1F876F
secondary
#B84A63
accent
#4268E6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100D
muted
#7B7F7E

Preview Lab

Preview with #1F876F

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

Preview Lab → · Contrast checker → · Palette generator →

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