#187878#187878

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

Color values

HEX#187878
RGBrgb(24, 120, 120)
HSLhsl(180, 67%, 28%)
HSVhsv(180, 80%, 47%)
CMYKcmyk(80%, 0%, 0%, 52.9%)
CIE-LABlab(45.61, -25.78, -7.66)
CIE-LCHlch(45.61, 26.90, 196.56°)
OKLaboklab(52.15% -0.0801 -0.0213)
OKLCHoklch(52.15% 0.083 194.9)
XYZxyz(10.4818, 14.9819, 20.1050)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187878 #781818
analogous
#187848 #187878 #184878
triadic
#187878 #781878 #787818
tetradic
#187878 #481878 #781818 #487818
square
#187878 #481878 #781818 #487818
split-complementary
#187878 #781848 #784818
monochromatic
#051A1A #0E4545 #187878 #22ABAB #34D6D6

Accessibility & contrast

On white

5.25
#187878 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#187878 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187878
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187878#FFFFFF#000000##FFFFFF
##1878781.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#707278
Deuteranopia (green-blind)
#626879
Tritanopia (blue-blind)
#007C78
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187878;
/* rgb */ color: rgb(24, 120, 120);
/* oklch */ color: oklch(52.1% 0.083 194.9);
Tailwind
colors: {
  custom: {
    50: '#699f9e',
    500: '#187878',
    950: '#000000',
  },
}
SCSS
$custom: #187878;
$custom-light: #699f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#187878",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 120
  },
  "hsl": {
    "h": 180,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52146,
    "c": 0.08289,
    "h": 194.9
  },
  "luminance": 0.14983
}

Semantic roles & 50–950 ramp

primary
#187878
secondary
#AD3F3F
accent
#3E3EEA
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #187878

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

Preview Lab → · Contrast checker → · Palette generator →

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