#1F9871#1F9871

#1F9871 is a mid, moderate teal. Relative luminance 0.239; OKLCH L 60.6% C 0.118 H 165.6°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#1F9871
RGBrgb(31, 152, 113)
HSLhsl(161, 66%, 36%)
HSVhsv(161, 80%, 60%)
CMYKcmyk(79.6%, 0%, 25.7%, 40.4%)
CIE-LABlab(56.03, -41.63, 11.52)
CIE-LCHlch(56.03, 43.19, 164.53°)
OKLaboklab(60.63% -0.1146 0.0294)
OKLCHoklch(60.63% 0.118 165.6)
XYZxyz(14.7722, 23.9382, 19.4616)
Luminance0.2394 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9871 #981F46
analogous
#1F9834 #1F9871 #1F8298
triadic
#1F9871 #711F98 #98711F
tetradic
#1F9871 #341F98 #981F46 #82981F
square
#1F9871 #341F98 #981F46 #82981F
split-complementary
#1F9871 #981F82 #98341F
monochromatic
#0A3225 #15654B #1F9871 #29CB97 #55DCB1

Accessibility & contrast

On white

3.63
#1F9871 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#1F9871 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9871
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9871#FFFFFF#000000##000000
##1F98711.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958D6F
Deuteranopia (green-blind)
#868274
Tritanopia (blue-blind)
#00988D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #1f9871;
/* rgb */ color: rgb(31, 152, 113);
/* oklch */ color: oklch(60.6% 0.118 165.6);
Tailwind
colors: {
  custom: {
    50: '#70b799',
    500: '#1f9871',
    950: '#000000',
  },
}
SCSS
$custom: #1f9871;
$custom-light: #70b799;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9871",
  "rgb": {
    "r": 31,
    "g": 152,
    "b": 113
  },
  "hsl": {
    "h": 160.661,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60633,
    "c": 0.11829,
    "h": 165.6
  },
  "luminance": 0.2394
}

Semantic roles & 50–950 ramp

primary
#1F9871
secondary
#C05376
accent
#3F76E9
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #1F9871

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

Preview Lab → · Contrast checker → · Palette generator →

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