#187D7C#187D7C

#187D7C is a mid, moderate teal. Relative luminance 0.163; OKLCH L 53.6% C 0.086 H 193.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#187D7C
RGBrgb(24, 125, 124)
HSLhsl(179, 68%, 29%)
HSVhsv(179, 81%, 49%)
CMYKcmyk(80.8%, 0%, 0.8%, 51%)
CIE-LABlab(47.39, -27.02, -7.39)
CIE-LCHlch(47.39, 28.01, 195.29°)
OKLaboklab(53.63% -0.0834 -0.0206)
OKLCHoklch(53.63% 0.086 193.9)
XYZxyz(11.3467, 16.3152, 21.6160)
Luminance0.1632 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D7C #7D1819
analogous
#187D4A #187D7C #184C7D
triadic
#187D7C #7C187D #7D7C18
tetradic
#187D7C #4A187D #7D1819 #4C7D18
square
#187D7C #4A187D #7D1819 #4C7D18
split-complementary
#187D7C #7D184C #7D4A18
monochromatic
#051A19 #0E4A49 #187D7C #22B0AF #37D9D7

Accessibility & contrast

On white

4.93
#187D7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#187D7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187D7C
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187D7C#FFFFFF#000000##FFFFFF
##187D7C1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74767C
Deuteranopia (green-blind)
#666C7D
Tritanopia (blue-blind)
#00817C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #187d7c;
/* rgb */ color: rgb(24, 125, 124);
/* oklch */ color: oklch(53.6% 0.086 193.9);
Tailwind
colors: {
  custom: {
    50: '#6aa3a1',
    500: '#187d7c',
    950: '#000000',
  },
}
SCSS
$custom: #187d7c;
$custom-light: #6aa3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#187d7c",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 124
  },
  "hsl": {
    "h": 179.406,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53634,
    "c": 0.08592,
    "h": 193.9
  },
  "luminance": 0.16317
}

Semantic roles & 50–950 ramp

primary
#187D7C
secondary
#B23F40
accent
#3D3FEB
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#080F0F
muted
#7A7F7E

Preview Lab

Preview with #187D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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