#1F8371#1F8371

#1F8371 is a mid, moderate teal. Relative luminance 0.177; OKLCH L 55.0% C 0.093 H 177.5°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#1F8371
RGBrgb(31, 131, 113)
HSLhsl(169, 62%, 32%)
HSVhsv(169, 76%, 51%)
CMYKcmyk(76.3%, 0%, 13.7%, 48.6%)
CIE-LABlab(49.15, -32.37, 1.70)
CIE-LCHlch(49.15, 32.41, 176.99°)
OKLaboklab(55% -0.0927 0.004)
OKLCHoklch(55% 0.093 177.5)
XYZxyz(11.6605, 17.7148, 18.4243)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8371 #831F31
analogous
#1F833F #1F8371 #1F6383
triadic
#1F8371 #711F83 #83711F
tetradic
#1F8371 #3F1F83 #831F31 #63831F
square
#1F8371 #3F1F83 #831F31 #63831F
split-complementary
#1F8371 #831F63 #833F1F
monochromatic
#08201C #135246 #1F8371 #2BB49C #49D4BB

Accessibility & contrast

On white

4.62
#1F8371 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#1F8371 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8371
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8371#FFFFFF#000000##FFFFFF
##1F83711.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7B70
Deuteranopia (green-blind)
#707172
Tritanopia (blue-blind)
#00857E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1f8371;
/* rgb */ color: rgb(31, 131, 113);
/* oklch */ color: oklch(55.0% 0.093 177.5);
Tailwind
colors: {
  custom: {
    50: '#6ca799',
    500: '#1f8371',
    950: '#000000',
  },
}
SCSS
$custom: #1f8371;
$custom-light: #6ca799;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8371",
  "rgb": {
    "r": 31,
    "g": 131,
    "b": 113
  },
  "hsl": {
    "h": 169.2,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54996,
    "c": 0.09276,
    "h": 177.5
  },
  "luminance": 0.17716
}

Semantic roles & 50–950 ramp

primary
#1F8371
secondary
#B6485C
accent
#4360E5
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#080F0E
muted
#7A7F7E

Preview Lab

Preview with #1F8371

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

Preview Lab → · Contrast checker → · Palette generator →

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