#1F8670#1F8670

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

Color values

HEX#1F8670
RGBrgb(31, 134, 112)
HSLhsl(167, 62%, 32%)
HSVhsv(167, 77%, 53%)
CMYKcmyk(76.9%, 0%, 16.4%, 47.5%)
CIE-LABlab(50.11, -34.03, 3.68)
CIE-LCHlch(50.11, 34.22, 173.83°)
OKLaboklab(55.77% -0.0964 0.0092)
OKLCHoklch(55.77% 0.097 174.5)
XYZxyz(12.0133, 18.5099, 18.2657)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8670 #861F35
analogous
#1F863C #1F8670 #1F6986
triadic
#1F8670 #701F86 #86701F
tetradic
#1F8670 #3C1F86 #861F35 #69861F
square
#1F8670 #3C1F86 #861F35 #69861F
split-complementary
#1F8670 #861F69 #863C1F
monochromatic
#08231D #145446 #1F8670 #2AB89A #4AD5B7

Accessibility & contrast

On white

4.47
#1F8670 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#1F8670 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8670
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8670#FFFFFF#000000##000000
##1F86701.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f8670;
/* rgb */ color: rgb(31, 134, 112);
/* oklch */ color: oklch(55.8% 0.097 174.5);
Tailwind
colors: {
  custom: {
    50: '#6caa99',
    500: '#1f8670',
    950: '#000000',
  },
}
SCSS
$custom: #1f8670;
$custom-light: #6caa99;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8670",
  "rgb": {
    "r": 31,
    "g": 134,
    "b": 112
  },
  "hsl": {
    "h": 167.184,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55772,
    "c": 0.0968,
    "h": 174.5
  },
  "luminance": 0.18511
}

Semantic roles & 50–950 ramp

primary
#1F8670
secondary
#B84961
accent
#4265E5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100D
muted
#7B7F7E

Preview Lab

Preview with #1F8670

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

Preview Lab → · Contrast checker → · Palette generator →

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