#187C6D#187C6D

#187C6D is a mid, moderate teal. Relative luminance 0.157; OKLCH L 52.8% C 0.090 H 179.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#187C6D
RGBrgb(24, 124, 109)
HSLhsl(171, 68%, 29%)
HSVhsv(171, 81%, 49%)
CMYKcmyk(80.6%, 0%, 12.1%, 51.4%)
CIE-LABlab(46.59, -31.09, 0.33)
CIE-LCHlch(46.59, 31.09, 179.40°)
OKLaboklab(52.84% -0.0897 0.0004)
OKLCHoklch(52.84% 0.09 179.8)
XYZxyz(10.3433, 15.7123, 16.9527)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C6D #7C1827
analogous
#187C3B #187C6D #18597C
triadic
#187C6D #6D187C #7C6D18
tetradic
#187C6D #3B187C #7C1827 #597C18
square
#187C6D #3B187C #7C1827 #597C18
split-complementary
#187C6D #7C1859 #7C3B18
monochromatic
#051A17 #0E4940 #187C6D #22AF9A #36D8C0

Accessibility & contrast

On white

5.07
#187C6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#187C6D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187C6D
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187C6D#FFFFFF#000000##FFFFFF
##187C6D1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76746C
Deuteranopia (green-blind)
#696A6E
Tritanopia (blue-blind)
#007E77
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187c6d;
/* rgb */ color: rgb(24, 124, 109);
/* oklch */ color: oklch(52.8% 0.090 179.8);
Tailwind
colors: {
  custom: {
    50: '#68a296',
    500: '#187c6d',
    950: '#000000',
  },
}
SCSS
$custom: #187c6d;
$custom-light: #68a296;
$custom-dark: #000000;
JSON
{
  "hex": "#187c6d",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 109
  },
  "hsl": {
    "h": 171,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52836,
    "c": 0.08973,
    "h": 179.8
  },
  "luminance": 0.15714
}

Semantic roles & 50–950 ramp

primary
#187C6D
secondary
#B13F50
accent
#3D57EA
background
#F6FAF9
surface
#ECF3F2
border
#C7CDCC
text
#070F0D
muted
#7A7F7E

Preview Lab

Preview with #187C6D

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

Preview Lab → · Contrast checker → · Palette generator →

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