#187E7C#187E7C

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

Color values

HEX#187E7C
RGBrgb(24, 126, 124)
HSLhsl(179, 68%, 29%)
HSVhsv(179, 81%, 49%)
CMYKcmyk(81%, 0%, 1.6%, 50.6%)
CIE-LABlab(47.71, -27.51, -6.90)
CIE-LCHlch(47.71, 28.37, 194.08°)
OKLaboklab(53.9% -0.0845 -0.0192)
OKLCHoklch(53.9% 0.087 192.8)
XYZxyz(11.4739, 16.5697, 21.6584)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E7C #7E181A
analogous
#187E49 #187E7C #184D7E
triadic
#187E7C #7C187E #7E7C18
tetradic
#187E7C #49187E #7E181A #4D7E18
square
#187E7C #49187E #7E181A #4D7E18
split-complementary
#187E7C #7E184D #7E4918
monochromatic
#051A19 #0E4B49 #187E7C #22B1AF #37D9D6

Accessibility & contrast

On white

4.87
#187E7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#187E7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187E7C
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187E7C#FFFFFF#000000##FFFFFF
##187E7C1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76777C
Deuteranopia (green-blind)
#676D7D
Tritanopia (blue-blind)
#00827D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #187e7c;
/* rgb */ color: rgb(24, 126, 124);
/* oklch */ color: oklch(53.9% 0.087 192.8);
Tailwind
colors: {
  custom: {
    50: '#6aa4a1',
    500: '#187e7c',
    950: '#000000',
  },
}
SCSS
$custom: #187e7c;
$custom-light: #6aa4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#187e7c",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 124
  },
  "hsl": {
    "h": 178.824,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.539,
    "c": 0.08663,
    "h": 192.8
  },
  "luminance": 0.16571
}

Semantic roles & 50–950 ramp

primary
#187E7C
secondary
#B23F42
accent
#3D40EB
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#080F0F
muted
#7A7F7E

Preview Lab

Preview with #187E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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