#187877#187877

#187877 is a mid, moderate teal. Relative luminance 0.150; OKLCH L 52.1% C 0.083 H 193.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#187877
RGBrgb(24, 120, 119)
HSLhsl(179, 67%, 28%)
HSVhsv(179, 80%, 47%)
CMYKcmyk(80%, 0%, 0.8%, 52.9%)
CIE-LABlab(45.58, -26.10, -7.12)
CIE-LCHlch(45.58, 27.06, 195.26°)
OKLaboklab(52.11% -0.0806 -0.0198)
OKLCHoklch(52.11% 0.083 193.8)
XYZxyz(10.4214, 14.9577, 19.7871)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187877 #781819
analogous
#187847 #187877 #184978
triadic
#187877 #771878 #787718
tetradic
#187877 #471878 #781819 #497818
square
#187877 #471878 #781819 #497818
split-complementary
#187877 #781849 #784718
monochromatic
#051A19 #0E4544 #187877 #22ABAA #34D6D5

Accessibility & contrast

On white

5.26
#187877 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#187877 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187877
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187877#FFFFFF#000000##FFFFFF
##1878771.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#707277
Deuteranopia (green-blind)
#626878
Tritanopia (blue-blind)
#007C77
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187877;
/* rgb */ color: rgb(24, 120, 119);
/* oklch */ color: oklch(52.1% 0.083 193.8);
Tailwind
colors: {
  custom: {
    50: '#689f9e',
    500: '#187877',
    950: '#000000',
  },
}
SCSS
$custom: #187877;
$custom-light: #689f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#187877",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 119
  },
  "hsl": {
    "h": 179.375,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52108,
    "c": 0.08298,
    "h": 193.8
  },
  "luminance": 0.14959
}

Semantic roles & 50–950 ramp

primary
#187877
secondary
#AD3F40
accent
#3E40EA
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #187877

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

Preview Lab → · Contrast checker → · Palette generator →

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