#187C5D#187C5D

#187C5D is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.4% C 0.101 H 166.5°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#187C5D
RGBrgb(24, 124, 93)
HSLhsl(161, 68%, 29%)
HSVhsv(161, 81%, 49%)
CMYKcmyk(80.6%, 0%, 25%, 51.4%)
CIE-LABlab(46.18, -35.48, 9.17)
CIE-LCHlch(46.18, 36.64, 165.51°)
OKLaboklab(52.35% -0.0979 0.0234)
OKLCHoklch(52.35% 0.101 166.5)
XYZxyz(9.5590, 15.3986, 12.8222)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C5D #7C1837
analogous
#187C2B #187C5D #18697C
triadic
#187C5D #5D187C #7C5D18
tetradic
#187C5D #2B187C #7C1837 #697C18
square
#187C5D #2B187C #7C1837 #697C18
split-complementary
#187C5D #7C1869 #7C2B18
monochromatic
#051A13 #0E4937 #187C5D #22AF83 #36D8A6

Accessibility & contrast

On white

5.15
#187C5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#187C5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187C5D
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187C5D#FFFFFF#000000##FFFFFF
##187C5D1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#79735B
Deuteranopia (green-blind)
#6D6A5F
Tritanopia (blue-blind)
#007C73
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187c5d;
/* rgb */ color: rgb(24, 124, 93);
/* oklch */ color: oklch(52.4% 0.101 166.5);
Tailwind
colors: {
  custom: {
    50: '#67a38b',
    500: '#187c5d',
    950: '#000000',
  },
}
SCSS
$custom: #187c5d;
$custom-light: #67a38b;
$custom-dark: #000000;
JSON
{
  "hex": "#187c5d",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 93
  },
  "hsl": {
    "h": 161.4,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52354,
    "c": 0.10066,
    "h": 166.5
  },
  "luminance": 0.154
}

Semantic roles & 50–950 ramp

primary
#187C5D
secondary
#B13F62
accent
#3D73EA
background
#F6FAF8
surface
#EBF4F0
border
#C6CECB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #187C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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