#1F9876#1F9876

#1F9876 is a mid, moderate teal. Relative luminance 0.241; OKLCH L 60.8% C 0.114 H 168.6°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#1F9876
RGBrgb(31, 152, 118)
HSLhsl(163, 66%, 36%)
HSVhsv(163, 80%, 60%)
CMYKcmyk(79.6%, 0%, 22.4%, 40.4%)
CIE-LABlab(56.14, -40.39, 8.86)
CIE-LCHlch(56.14, 41.35, 167.63°)
OKLaboklab(60.77% -0.1121 0.0226)
OKLCHoklch(60.77% 0.114 168.6)
XYZxyz(15.0615, 24.0539, 20.9851)
Luminance0.2406 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9876 #981F41
analogous
#1F9839 #1F9876 #1F7D98
triadic
#1F9876 #761F98 #98761F
tetradic
#1F9876 #391F98 #981F41 #7D981F
square
#1F9876 #391F98 #981F41 #7D981F
split-complementary
#1F9876 #981F7D #98391F
monochromatic
#0A3227 #15654F #1F9876 #29CB9D #55DCB6

Accessibility & contrast

On white

3.61
#1F9876 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#1F9876 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9876
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9876#FFFFFF#000000##000000
##1F98761.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948D74
Deuteranopia (green-blind)
#858278
Tritanopia (blue-blind)
#00998E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #1f9876;
/* rgb */ color: rgb(31, 152, 118);
/* oklch */ color: oklch(60.8% 0.114 168.6);
Tailwind
colors: {
  custom: {
    50: '#70b79d',
    500: '#1f9876',
    950: '#000000',
  },
}
SCSS
$custom: #1f9876;
$custom-light: #70b79d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9876",
  "rgb": {
    "r": 31,
    "g": 152,
    "b": 118
  },
  "hsl": {
    "h": 163.14,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60767,
    "c": 0.11435,
    "h": 168.6
  },
  "luminance": 0.24056
}

Semantic roles & 50–950 ramp

primary
#1F9876
secondary
#C05372
accent
#3F6FE9
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #1F9876

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

Preview Lab → · Contrast checker → · Palette generator →

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