#1F8672#1F8672

#1F8672 is a mid, moderate teal. Relative luminance 0.186; OKLCH L 55.8% C 0.096 H 176.2°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#1F8672
RGBrgb(31, 134, 114)
HSLhsl(168, 62%, 32%)
HSVhsv(168, 77%, 53%)
CMYKcmyk(76.9%, 0%, 14.9%, 47.5%)
CIE-LABlab(50.16, -33.48, 2.59)
CIE-LCHlch(50.16, 33.58, 175.58°)
OKLaboklab(55.83% -0.0954 0.0063)
OKLCHoklch(55.83% 0.096 176.2)
XYZxyz(12.1259, 18.5549, 18.8587)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8672 #861F33
analogous
#1F863F #1F8672 #1F6686
triadic
#1F8672 #721F86 #86721F
tetradic
#1F8672 #3F1F86 #861F33 #66861F
square
#1F8672 #3F1F86 #861F33 #66861F
split-complementary
#1F8672 #861F66 #863F1F
monochromatic
#08231D #145448 #1F8672 #2AB89C #4AD5BA

Accessibility & contrast

On white

4.46
#1F8672 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#1F8672 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8672
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8672#FFFFFF#000000##000000
##1F86721.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#817D71
Deuteranopia (green-blind)
#737374
Tritanopia (blue-blind)
#008880
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1f8672;
/* rgb */ color: rgb(31, 134, 114);
/* oklch */ color: oklch(55.8% 0.096 176.2);
Tailwind
colors: {
  custom: {
    50: '#6caa9a',
    500: '#1f8672',
    950: '#000000',
  },
}
SCSS
$custom: #1f8672;
$custom-light: #6caa9a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8672",
  "rgb": {
    "r": 31,
    "g": 134,
    "b": 114
  },
  "hsl": {
    "h": 168.35,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55834,
    "c": 0.09557,
    "h": 176.2
  },
  "luminance": 0.18556
}

Semantic roles & 50–950 ramp

primary
#1F8672
secondary
#B8495F
accent
#4262E5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #1F8672

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

Preview Lab → · Contrast checker → · Palette generator →

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