#197871#197871

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

Color values

HEX#197871
RGBrgb(25, 120, 113)
HSLhsl(176, 66%, 28%)
HSVhsv(176, 79%, 47%)
CMYKcmyk(79.2%, 0%, 5.8%, 52.9%)
CIE-LABlab(45.40, -27.86, -3.80)
CIE-LCHlch(45.40, 28.12, 187.77°)
OKLaboklab(51.91% -0.0831 -0.0107)
OKLCHoklch(51.91% 0.084 187.4)
XYZxyz(10.0966, 14.8306, 17.9500)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197871 #781920
analogous
#197841 #197871 #194F78
triadic
#197871 #711978 #787119
tetradic
#197871 #411978 #781920 #4F7819
square
#197871 #411978 #781920 #4F7819
split-complementary
#197871 #78194F #784119
monochromatic
#051918 #0E4541 #197871 #24ABA1 #36D5C9

Accessibility & contrast

On white

5.29
#197871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#197871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197871
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197871#FFFFFF#000000##FFFFFF
##1978711.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.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: #197871;
/* rgb */ color: rgb(25, 120, 113);
/* oklch */ color: oklch(51.9% 0.084 187.4);
Tailwind
colors: {
  custom: {
    50: '#689f99',
    500: '#197871',
    950: '#000000',
  },
}
SCSS
$custom: #197871;
$custom-light: #689f99;
$custom-dark: #000000;
JSON
{
  "hex": "#197871",
  "rgb": {
    "r": 25,
    "g": 120,
    "b": 113
  },
  "hsl": {
    "h": 175.579,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51907,
    "c": 0.08384,
    "h": 187.4
  },
  "luminance": 0.14832
}

Semantic roles & 50–950 ramp

primary
#197871
secondary
#AD4048
accent
#3F4CE8
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #197871

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

Preview Lab → · Contrast checker → · Palette generator →

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