#1F9875#1F9875

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

Color values

HEX#1F9875
RGBrgb(31, 152, 117)
HSLhsl(163, 66%, 36%)
HSVhsv(163, 80%, 60%)
CMYKcmyk(79.6%, 0%, 23%, 40.4%)
CIE-LABlab(56.12, -40.64, 9.39)
CIE-LCHlch(56.12, 41.71, 166.99°)
OKLaboklab(60.74% -0.1126 0.024)
OKLCHoklch(60.74% 0.115 168)
XYZxyz(15.0024, 24.0303, 20.6738)
Luminance0.2403 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9875 #981F42
analogous
#1F9839 #1F9875 #1F7E98
triadic
#1F9875 #751F98 #98751F
tetradic
#1F9875 #391F98 #981F42 #7E981F
square
#1F9875 #391F98 #981F42 #7E981F
split-complementary
#1F9875 #981F7E #98391F
monochromatic
#0A3227 #15654E #1F9875 #29CB9C #55DCB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F9875#FFFFFF#000000##000000
##1F98751.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f9875;
/* rgb */ color: rgb(31, 152, 117);
/* oklch */ color: oklch(60.7% 0.115 168.0);
Tailwind
colors: {
  custom: {
    50: '#70b79c',
    500: '#1f9875',
    950: '#000000',
  },
}
SCSS
$custom: #1f9875;
$custom-light: #70b79c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9875",
  "rgb": {
    "r": 31,
    "g": 152,
    "b": 117
  },
  "hsl": {
    "h": 162.645,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60739,
    "c": 0.11512,
    "h": 168
  },
  "luminance": 0.24032
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F9875

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

Preview Lab → · Contrast checker → · Palette generator →

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