#1F9874#1F9874

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

Color values

HEX#1F9874
RGBrgb(31, 152, 116)
HSLhsl(162, 66%, 36%)
HSVhsv(162, 80%, 60%)
CMYKcmyk(79.6%, 0%, 23.7%, 40.4%)
CIE-LABlab(56.09, -40.89, 9.92)
CIE-LCHlch(56.09, 42.08, 166.36°)
OKLaboklab(60.71% -0.1131 0.0254)
OKLCHoklch(60.71% 0.116 167.4)
XYZxyz(14.9439, 24.0069, 20.3658)
Luminance0.2401 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9874 #981F43
analogous
#1F9838 #1F9874 #1F7F98
triadic
#1F9874 #741F98 #98741F
tetradic
#1F9874 #381F98 #981F43 #7F981F
square
#1F9874 #381F98 #981F43 #7F981F
split-complementary
#1F9874 #981F7F #98381F
monochromatic
#0A3226 #15654D #1F9874 #29CB9B #55DCB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F9874#FFFFFF#000000##000000
##1F98741.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)
#948D72
Deuteranopia (green-blind)
#858276
Tritanopia (blue-blind)
#00998E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #1f9874;
/* rgb */ color: rgb(31, 152, 116);
/* oklch */ color: oklch(60.7% 0.116 167.4);
Tailwind
colors: {
  custom: {
    50: '#70b79c',
    500: '#1f9874',
    950: '#000000',
  },
}
SCSS
$custom: #1f9874;
$custom-light: #70b79c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9874",
  "rgb": {
    "r": 31,
    "g": 152,
    "b": 116
  },
  "hsl": {
    "h": 162.149,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60713,
    "c": 0.11589,
    "h": 167.4
  },
  "luminance": 0.24009
}

Semantic roles & 50–950 ramp

primary
#1F9874
secondary
#C05373
accent
#3F71E9
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #1F9874

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

Preview Lab → · Contrast checker → · Palette generator →

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