#1F9870#1F9870

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

Color values

HEX#1F9870
RGBrgb(31, 152, 112)
HSLhsl(160, 66%, 36%)
HSVhsv(160, 80%, 60%)
CMYKcmyk(79.6%, 0%, 26.3%, 40.4%)
CIE-LABlab(56.00, -41.87, 12.06)
CIE-LCHlch(56.00, 43.57, 163.94°)
OKLaboklab(60.61% -0.1151 0.0308)
OKLCHoklch(60.61% 0.119 165)
XYZxyz(14.7163, 23.9158, 19.1667)
Luminance0.2392 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9870 #981F47
analogous
#1F9833 #1F9870 #1F8398
triadic
#1F9870 #701F98 #98701F
tetradic
#1F9870 #331F98 #981F47 #83981F
square
#1F9870 #331F98 #981F47 #83981F
split-complementary
#1F9870 #981F83 #98331F
monochromatic
#0A3225 #15654B #1F9870 #29CB95 #55DCB0

Accessibility & contrast

On white

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

On black

5.78
#1F9870 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9870
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9870#FFFFFF#000000##000000
##1F98701.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f9870;
/* rgb */ color: rgb(31, 152, 112);
/* oklch */ color: oklch(60.6% 0.119 165.0);
Tailwind
colors: {
  custom: {
    50: '#70b799',
    500: '#1f9870',
    950: '#000000',
  },
}
SCSS
$custom: #1f9870;
$custom-light: #70b799;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9870",
  "rgb": {
    "r": 31,
    "g": 152,
    "b": 112
  },
  "hsl": {
    "h": 160.165,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60607,
    "c": 0.11911,
    "h": 165
  },
  "luminance": 0.23918
}

Semantic roles & 50–950 ramp

primary
#1F9870
secondary
#C05377
accent
#3F77E9
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110D
muted
#7B807E

Preview Lab

Preview with #1F9870

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

Preview Lab → · Contrast checker → · Palette generator →

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