#1F8872#1F8872

#1F8872 is a mid, moderate teal. Relative luminance 0.191; OKLCH L 56.4% C 0.098 H 174.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#1F8872
RGBrgb(31, 136, 114)
HSLhsl(167, 63%, 33%)
HSVhsv(167, 77%, 53%)
CMYKcmyk(77.2%, 0%, 16.2%, 46.7%)
CIE-LABlab(50.82, -34.39, 3.54)
CIE-LCHlch(50.82, 34.57, 174.13°)
OKLaboklab(56.37% -0.0975 0.0088)
OKLCHoklch(56.37% 0.098 174.8)
XYZxyz(12.4049, 19.1130, 18.9517)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8872 #881F35
analogous
#1F883E #1F8872 #1F6988
triadic
#1F8872 #721F88 #88721F
tetradic
#1F8872 #3E1F88 #881F35 #69881F
square
#1F8872 #3E1F88 #881F35 #69881F
split-complementary
#1F8872 #881F69 #883E1F
monochromatic
#08241E #145648 #1F8872 #2ABA9C #4BD6B9

Accessibility & contrast

On white

4.35
#1F8872 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#1F8872 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8872
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8872#FFFFFF#000000##000000
##1F88721.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#837F71
Deuteranopia (green-blind)
#757574
Tritanopia (blue-blind)
#008A82
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f8872;
/* rgb */ color: rgb(31, 136, 114);
/* oklch */ color: oklch(56.4% 0.098 174.8);
Tailwind
colors: {
  custom: {
    50: '#6dab9a',
    500: '#1f8872',
    950: '#000000',
  },
}
SCSS
$custom: #1f8872;
$custom-light: #6dab9a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8872",
  "rgb": {
    "r": 31,
    "g": 136,
    "b": 114
  },
  "hsl": {
    "h": 167.429,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56371,
    "c": 0.09788,
    "h": 174.8
  },
  "luminance": 0.19115
}

Semantic roles & 50–950 ramp

primary
#1F8872
secondary
#B94A61
accent
#4264E6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #1F8872

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

Preview Lab → · Contrast checker → · Palette generator →

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