#1F8372#1F8372

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

Color values

HEX#1F8372
RGBrgb(31, 131, 114)
HSLhsl(170, 62%, 32%)
HSVhsv(170, 76%, 51%)
CMYKcmyk(76.3%, 0%, 13%, 48.6%)
CIE-LABlab(49.18, -32.09, 1.16)
CIE-LCHlch(49.18, 32.11, 177.93°)
OKLaboklab(55.03% -0.0922 0.0026)
OKLCHoklch(55.03% 0.092 178.4)
XYZxyz(11.7171, 17.7374, 18.7225)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8372 #831F30
analogous
#1F8340 #1F8372 #1F6283
triadic
#1F8372 #721F83 #83721F
tetradic
#1F8372 #401F83 #831F30 #62831F
square
#1F8372 #401F83 #831F30 #62831F
split-complementary
#1F8372 #831F62 #83401F
monochromatic
#08201C #135247 #1F8372 #2BB49D #49D4BC

Accessibility & contrast

On white

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

On black

4.55
#1F8372 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F8372#FFFFFF#000000##FFFFFF
##1F83721.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f8372;
/* rgb */ color: rgb(31, 131, 114);
/* oklch */ color: oklch(55.0% 0.092 178.4);
Tailwind
colors: {
  custom: {
    50: '#6ca79a',
    500: '#1f8372',
    950: '#000000',
  },
}
SCSS
$custom: #1f8372;
$custom-light: #6ca79a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8372",
  "rgb": {
    "r": 31,
    "g": 131,
    "b": 114
  },
  "hsl": {
    "h": 169.8,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55028,
    "c": 0.09221,
    "h": 178.4
  },
  "luminance": 0.17739
}

Semantic roles & 50–950 ramp

primary
#1F8372
secondary
#B6485B
accent
#435EE5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #1F8372

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

Preview Lab → · Contrast checker → · Palette generator →

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