#187E7D#187E7D

#187E7D is a mid, moderate teal. Relative luminance 0.166; OKLCH L 53.9% C 0.087 H 193.9°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#187E7D
RGBrgb(24, 126, 125)
HSLhsl(179, 68%, 29%)
HSVhsv(179, 81%, 49%)
CMYKcmyk(81%, 0%, 0.8%, 50.6%)
CIE-LABlab(47.75, -27.20, -7.44)
CIE-LCHlch(47.75, 28.20, 195.30°)
OKLaboklab(53.94% -0.084 -0.0207)
OKLCHoklch(53.94% 0.087 193.9)
XYZxyz(11.5375, 16.5951, 21.9932)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E7D #7E1819
analogous
#187E4A #187E7D #184C7E
triadic
#187E7D #7D187E #7E7D18
tetradic
#187E7D #4A187E #7E1819 #4C7E18
square
#187E7D #4A187E #7E1819 #4C7E18
split-complementary
#187E7D #7E184C #7E4A18
monochromatic
#051A1A #0E4B4A #187E7D #22B1B0 #37D9D7

Accessibility & contrast

On white

4.86
#187E7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#187E7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187E7D
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187E7D#FFFFFF#000000##FFFFFF
##187E7D1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75777D
Deuteranopia (green-blind)
#676D7E
Tritanopia (blue-blind)
#00827D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #187e7d;
/* rgb */ color: rgb(24, 126, 125);
/* oklch */ color: oklch(53.9% 0.087 193.9);
Tailwind
colors: {
  custom: {
    50: '#6aa4a2',
    500: '#187e7d',
    950: '#000000',
  },
}
SCSS
$custom: #187e7d;
$custom-light: #6aa4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#187e7d",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 125
  },
  "hsl": {
    "h": 179.412,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53937,
    "c": 0.08651,
    "h": 193.9
  },
  "luminance": 0.16597
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #187E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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