#1F8671#1F8671

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

Color values

HEX#1F8671
RGBrgb(31, 134, 113)
HSLhsl(168, 62%, 32%)
HSVhsv(168, 77%, 53%)
CMYKcmyk(76.9%, 0%, 15.7%, 47.5%)
CIE-LABlab(50.14, -33.75, 3.13)
CIE-LCHlch(50.14, 33.90, 174.70°)
OKLaboklab(55.8% -0.0959 0.0078)
OKLCHoklch(55.8% 0.096 175.4)
XYZxyz(12.0693, 18.5323, 18.5606)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8671 #861F34
analogous
#1F863E #1F8671 #1F6886
triadic
#1F8671 #711F86 #86711F
tetradic
#1F8671 #3E1F86 #861F34 #68861F
square
#1F8671 #3E1F86 #861F34 #68861F
split-complementary
#1F8671 #861F68 #863E1F
monochromatic
#08231D #145447 #1F8671 #2AB89B #4AD5B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8671#FFFFFF#000000##000000
##1F86711.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)
#817D70
Deuteranopia (green-blind)
#737373
Tritanopia (blue-blind)
#008880
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1f8671;
/* rgb */ color: rgb(31, 134, 113);
/* oklch */ color: oklch(55.8% 0.096 175.4);
Tailwind
colors: {
  custom: {
    50: '#6caa99',
    500: '#1f8671',
    950: '#000000',
  },
}
SCSS
$custom: #1f8671;
$custom-light: #6caa99;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8671",
  "rgb": {
    "r": 31,
    "g": 134,
    "b": 113
  },
  "hsl": {
    "h": 167.767,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55803,
    "c": 0.09618,
    "h": 175.4
  },
  "luminance": 0.18534
}

Semantic roles & 50–950 ramp

primary
#1F8671
secondary
#B84960
accent
#4264E5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #1F8671

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

Preview Lab → · Contrast checker → · Palette generator →

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