#187872#187872

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

Color values

HEX#187872
RGBrgb(24, 120, 114)
HSLhsl(176, 67%, 28%)
HSVhsv(176, 80%, 47%)
CMYKcmyk(80%, 0%, 5%, 52.9%)
CIE-LABlab(45.42, -27.67, -4.38)
CIE-LCHlch(45.42, 28.01, 188.99°)
OKLaboklab(51.92% -0.083 -0.0123)
OKLCHoklch(51.92% 0.084 188.4)
XYZxyz(10.1290, 14.8408, 18.2470)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187872 #78181E
analogous
#187842 #187872 #184E78
triadic
#187872 #721878 #787218
tetradic
#187872 #421878 #78181E #4E7818
square
#187872 #421878 #78181E #4E7818
split-complementary
#187872 #78184E #784218
monochromatic
#051A18 #0E4542 #187872 #22ABA2 #34D6CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187872#FFFFFF#000000##FFFFFF
##1878721.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)
#717172
Deuteranopia (green-blind)
#646773
Tritanopia (blue-blind)
#007B76
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187872;
/* rgb */ color: rgb(24, 120, 114);
/* oklch */ color: oklch(51.9% 0.084 188.4);
Tailwind
colors: {
  custom: {
    50: '#689f9a',
    500: '#187872',
    950: '#000000',
  },
}
SCSS
$custom: #187872;
$custom-light: #689f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#187872",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 114
  },
  "hsl": {
    "h": 176.25,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51924,
    "c": 0.08391,
    "h": 188.4
  },
  "luminance": 0.14842
}

Semantic roles & 50–950 ramp

primary
#187872
secondary
#AD3F46
accent
#3E49EA
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #187872

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

Preview Lab → · Contrast checker → · Palette generator →

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