#1F8971#1F8971

#1F8971 is a mid, moderate teal. Relative luminance 0.194; OKLCH L 56.6% C 0.100 H 173.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#1F8971
RGBrgb(31, 137, 113)
HSLhsl(166, 63%, 33%)
HSVhsv(166, 77%, 54%)
CMYKcmyk(77.4%, 0%, 17.5%, 46.3%)
CIE-LABlab(51.12, -35.12, 4.55)
CIE-LCHlch(51.12, 35.41, 172.61°)
OKLaboklab(56.61% -0.099 0.0115)
OKLCHoklch(56.61% 0.1 173.4)
XYZxyz(12.4898, 19.3734, 18.7008)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8971 #891F37
analogous
#1F893C #1F8971 #1F6C89
triadic
#1F8971 #711F89 #89711F
tetradic
#1F8971 #3C1F89 #891F37 #6C891F
square
#1F8971 #3C1F89 #891F37 #6C891F
split-complementary
#1F8971 #891F6C #893C1F
monochromatic
#08251F #145748 #1F8971 #2ABB9A #4CD6B7

Accessibility & contrast

On white

4.31
#1F8971 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#1F8971 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8971
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8971#FFFFFF#000000##000000
##1F89711.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#848070
Deuteranopia (green-blind)
#767673
Tritanopia (blue-blind)
#008A82
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f8971;
/* rgb */ color: rgb(31, 137, 113);
/* oklch */ color: oklch(56.6% 0.100 173.4);
Tailwind
colors: {
  custom: {
    50: '#6dac99',
    500: '#1f8971',
    950: '#000000',
  },
}
SCSS
$custom: #1f8971;
$custom-light: #6dac99;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8971",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 113
  },
  "hsl": {
    "h": 166.415,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5661,
    "c": 0.0997,
    "h": 173.4
  },
  "luminance": 0.19375
}

Semantic roles & 50–950 ramp

primary
#1F8971
secondary
#B94B64
accent
#4267E6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #1F8971

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

Preview Lab → · Contrast checker → · Palette generator →

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