#187F78#187F78

#187F78 is a mid, moderate teal. Relative luminance 0.167; OKLCH L 54.0% C 0.088 H 187.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#187F78
RGBrgb(24, 127, 120)
HSLhsl(176, 68%, 30%)
HSVhsv(176, 81%, 50%)
CMYKcmyk(81.1%, 0%, 5.5%, 50.2%)
CIE-LABlab(47.91, -29.24, -4.24)
CIE-LCHlch(47.91, 29.55, 188.24°)
OKLaboklab(54.02% -0.0874 -0.012)
OKLCHoklch(54.02% 0.088 187.8)
XYZxyz(11.3546, 16.7276, 20.3960)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F78 #7F181F
analogous
#187F44 #187F78 #18537F
triadic
#187F78 #78187F #7F7818
tetradic
#187F78 #44187F #7F181F #537F18
square
#187F78 #44187F #7F181F #537F18
split-complementary
#187F78 #7F1853 #7F4418
monochromatic
#051A18 #0E4C47 #187F78 #22B2A9 #38D9CE

Accessibility & contrast

On white

4.83
#187F78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#187F78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187F78
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F78#FFFFFF#000000##FFFFFF
##187F781.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787878
Deuteranopia (green-blind)
#6A6D79
Tritanopia (blue-blind)
#00827D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #187f78;
/* rgb */ color: rgb(24, 127, 120);
/* oklch */ color: oklch(54.0% 0.088 187.8);
Tailwind
colors: {
  custom: {
    50: '#6aa49e',
    500: '#187f78',
    950: '#000000',
  },
}
SCSS
$custom: #187f78;
$custom-light: #6aa49e;
$custom-dark: #000000;
JSON
{
  "hex": "#187f78",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 120
  },
  "hsl": {
    "h": 175.922,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54022,
    "c": 0.08825,
    "h": 187.8
  },
  "luminance": 0.16729
}

Semantic roles & 50–950 ramp

primary
#187F78
secondary
#B33F47
accent
#3D49EB
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#070F0E
muted
#7A7F7E

Preview Lab

Preview with #187F78

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

Preview Lab → · Contrast checker → · Palette generator →

#187F78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva