#1C7871#1C7871

#1C7871 is a mid, moderate teal. Relative luminance 0.149; OKLCH L 52.0% C 0.083 H 187.3°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#1C7871
RGBrgb(28, 120, 113)
HSLhsl(175, 62%, 29%)
HSVhsv(175, 77%, 47%)
CMYKcmyk(76.7%, 0%, 5.8%, 52.9%)
CIE-LABlab(45.46, -27.49, -3.71)
CIE-LCHlch(45.46, 27.74, 187.69°)
OKLaboklab(51.97% -0.082 -0.0105)
OKLCHoklch(51.97% 0.083 187.3)
XYZxyz(10.1746, 14.8708, 17.9537)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7871 #781C23
analogous
#1C7843 #1C7871 #1C5178
triadic
#1C7871 #711C78 #78711C
tetradic
#1C7871 #431C78 #781C23 #51781C
square
#1C7871 #431C78 #781C23 #51781C
split-complementary
#1C7871 #781C51 #78431C
monochromatic
#061917 #104642 #1C7871 #28AAA0 #3DD2C6

Accessibility & contrast

On white

5.28
#1C7871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#1C7871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7871
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7871#FFFFFF#000000##FFFFFF
##1C78711.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c7871;
/* rgb */ color: rgb(28, 120, 113);
/* oklch */ color: oklch(52.0% 0.083 187.3);
Tailwind
colors: {
  custom: {
    50: '#699f99',
    500: '#1c7871',
    950: '#000000',
  },
}
SCSS
$custom: #1c7871;
$custom-light: #699f99;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7871",
  "rgb": {
    "r": 28,
    "g": 120,
    "b": 113
  },
  "hsl": {
    "h": 175.435,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51968,
    "c": 0.0827,
    "h": 187.3
  },
  "luminance": 0.14872
}

Semantic roles & 50–950 ramp

primary
#1C7871
secondary
#AC444C
accent
#434FE5
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #1C7871

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

Preview Lab → · Contrast checker → · Palette generator →

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