#1F9873#1F9873

#1F9873 is a mid, moderate teal. Relative luminance 0.240; OKLCH L 60.7% C 0.117 H 166.8°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#1F9873
RGBrgb(31, 152, 115)
HSLhsl(162, 66%, 36%)
HSVhsv(162, 80%, 60%)
CMYKcmyk(79.6%, 0%, 24.3%, 40.4%)
CIE-LABlab(56.07, -41.14, 10.46)
CIE-LCHlch(56.07, 42.45, 165.74°)
OKLaboklab(60.69% -0.1136 0.0267)
OKLCHoklch(60.69% 0.117 166.8)
XYZxyz(14.8861, 23.9838, 20.0611)
Luminance0.2399 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9873 #981F44
analogous
#1F9836 #1F9873 #1F8098
triadic
#1F9873 #731F98 #98731F
tetradic
#1F9873 #361F98 #981F44 #80981F
square
#1F9873 #361F98 #981F44 #80981F
split-complementary
#1F9873 #981F80 #98361F
monochromatic
#0A3226 #15654D #1F9873 #29CB99 #55DCB3

Accessibility & contrast

On white

3.62
#1F9873 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#1F9873 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9873
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9873#FFFFFF#000000##000000
##1F98731.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#948D71
Deuteranopia (green-blind)
#858275
Tritanopia (blue-blind)
#00998E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #1f9873;
/* rgb */ color: rgb(31, 152, 115);
/* oklch */ color: oklch(60.7% 0.117 166.8);
Tailwind
colors: {
  custom: {
    50: '#70b79b',
    500: '#1f9873',
    950: '#000000',
  },
}
SCSS
$custom: #1f9873;
$custom-light: #70b79b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9873",
  "rgb": {
    "r": 31,
    "g": 152,
    "b": 115
  },
  "hsl": {
    "h": 161.653,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60686,
    "c": 0.11668,
    "h": 166.8
  },
  "luminance": 0.23986
}

Semantic roles & 50–950 ramp

primary
#1F9873
secondary
#C05374
accent
#3F73E9
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #1F9873

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

Preview Lab → · Contrast checker → · Palette generator →

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