#187D6C#187D6C

#187D6C is a mid, moderate teal. Relative luminance 0.159; OKLCH L 53.1% C 0.091 H 178.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#187D6C
RGBrgb(24, 125, 108)
HSLhsl(170, 68%, 29%)
HSVhsv(170, 81%, 49%)
CMYKcmyk(80.8%, 0%, 13.6%, 51%)
CIE-LABlab(46.90, -31.85, 1.36)
CIE-LCHlch(46.90, 31.88, 177.55°)
OKLaboklab(53.08% -0.0913 0.0031)
OKLCHoklch(53.08% 0.091 178)
XYZxyz(10.4157, 15.9428, 16.7128)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D6C #7D1829
analogous
#187D3A #187D6C #185C7D
triadic
#187D6C #6C187D #7D6C18
tetradic
#187D6C #3A187D #7D1829 #5C7D18
square
#187D6C #3A187D #7D1829 #5C7D18
split-complementary
#187D6C #7D185C #7D3A18
monochromatic
#051A16 #0E4A40 #187D6C #22B098 #37D9BD

Accessibility & contrast

On white

5.01
#187D6C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#187D6C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187D6C
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187D6C#FFFFFF#000000##FFFFFF
##187D6C1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#78756B
Deuteranopia (green-blind)
#6B6B6D
Tritanopia (blue-blind)
#007F78
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #187d6c;
/* rgb */ color: rgb(24, 125, 108);
/* oklch */ color: oklch(53.1% 0.091 178.0);
Tailwind
colors: {
  custom: {
    50: '#68a396',
    500: '#187d6c',
    950: '#000000',
  },
}
SCSS
$custom: #187d6c;
$custom-light: #68a396;
$custom-dark: #000000;
JSON
{
  "hex": "#187d6c",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 108
  },
  "hsl": {
    "h": 169.901,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53076,
    "c": 0.09134,
    "h": 178
  },
  "luminance": 0.15944
}

Semantic roles & 50–950 ramp

primary
#187D6C
secondary
#B23F53
accent
#3D5AEB
background
#F6FAF9
surface
#ECF4F1
border
#C7CECB
text
#070F0D
muted
#7A7F7E

Preview Lab

Preview with #187D6C

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

Preview Lab → · Contrast checker → · Palette generator →

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