#167871#167871

#167871 is a mid, moderate teal. Relative luminance 0.148; OKLCH L 51.9% C 0.085 H 187.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#167871
RGBrgb(22, 120, 113)
HSLhsl(176, 69%, 28%)
HSVhsv(176, 82%, 47%)
CMYKcmyk(81.7%, 0%, 5.8%, 52.9%)
CIE-LABlab(45.35, -28.19, -3.88)
CIE-LCHlch(45.35, 28.46, 187.83°)
OKLaboklab(51.85% -0.0842 -0.011)
OKLCHoklch(51.85% 0.085 187.4)
XYZxyz(10.0265, 14.7945, 17.9468)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167871 #78161D
analogous
#167840 #167871 #164E78
triadic
#167871 #711678 #787116
tetradic
#167871 #401678 #78161D #4E7816
square
#167871 #401678 #78161D #4E7816
split-complementary
#167871 #78164E #784016
monochromatic
#051A18 #0D4440 #167871 #1FACA2 #2FD9CD

Accessibility & contrast

On white

5.30
#167871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#167871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167871
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167871#FFFFFF#000000##FFFFFF
##1678711.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#717171
Deuteranopia (green-blind)
#646772
Tritanopia (blue-blind)
#007B76
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #167871;
/* rgb */ color: rgb(22, 120, 113);
/* oklch */ color: oklch(51.9% 0.085 187.4);
Tailwind
colors: {
  custom: {
    50: '#679f99',
    500: '#167871',
    950: '#000000',
  },
}
SCSS
$custom: #167871;
$custom-light: #679f99;
$custom-dark: #000000;
JSON
{
  "hex": "#167871",
  "rgb": {
    "r": 22,
    "g": 120,
    "b": 113
  },
  "hsl": {
    "h": 175.714,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51852,
    "c": 0.08487,
    "h": 187.4
  },
  "luminance": 0.14796
}

Semantic roles & 50–950 ramp

primary
#167871
secondary
#AD3C44
accent
#3C49EC
background
#F6F9F9
surface
#EBF2F2
border
#C6CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #167871

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

Preview Lab → · Contrast checker → · Palette generator →

#167871 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva