#187871#187871

#187871 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.30:1 contrast (WCAG AA passes).

Color values

HEX#187871
RGBrgb(24, 120, 113)
HSLhsl(176, 67%, 28%)
HSVhsv(176, 80%, 47%)
CMYKcmyk(80%, 0%, 5.8%, 52.9%)
CIE-LABlab(45.38, -27.98, -3.83)
CIE-LCHlch(45.38, 28.24, 187.79°)
OKLaboklab(51.89% -0.0835 -0.0108)
OKLCHoklch(51.89% 0.084 187.4)
XYZxyz(10.0724, 14.8181, 17.9489)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187871 #78181F
analogous
#187841 #187871 #184F78
triadic
#187871 #711878 #787118
tetradic
#187871 #411878 #78181F #4F7818
square
#187871 #411878 #78181F #4F7818
split-complementary
#187871 #78184F #784118
monochromatic
#051A18 #0E4541 #187871 #22ABA1 #34D6CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187871#FFFFFF#000000##FFFFFF
##1878711.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: #187871;
/* rgb */ color: rgb(24, 120, 113);
/* oklch */ color: oklch(51.9% 0.084 187.4);
Tailwind
colors: {
  custom: {
    50: '#689f99',
    500: '#187871',
    950: '#000000',
  },
}
SCSS
$custom: #187871;
$custom-light: #689f99;
$custom-dark: #000000;
JSON
{
  "hex": "#187871",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 113
  },
  "hsl": {
    "h": 175.625,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51888,
    "c": 0.0842,
    "h": 187.4
  },
  "luminance": 0.14819
}

Semantic roles & 50–950 ramp

primary
#187871
secondary
#AD3F47
accent
#3E4BEA
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #187871

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

Preview Lab → · Contrast checker → · Palette generator →

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