#187D4C#187D4C

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

Color values

HEX#187D4C
RGBrgb(24, 125, 76)
HSLhsl(151, 68%, 29%)
HSVhsv(151, 81%, 49%)
CMYKcmyk(80.8%, 0%, 39.2%, 51%)
CIE-LABlab(46.15, -39.89, 18.99)
CIE-LCHlch(46.15, 44.18, 154.54°)
OKLaboklab(52.22% -0.1076 0.0475)
OKLCHoklch(52.22% 0.118 156.2)
XYZxyz(9.0139, 15.3821, 9.3301)
Luminance0.1538 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D4C #7D1849
analogous
#187D1A #187D4C #187C7D
triadic
#187D4C #4C187D #7D4C18
tetradic
#187D4C #1A187D #7D1849 #7C7D18
square
#187D4C #1A187D #7D1849 #7C7D18
split-complementary
#187D4C #7D187C #7D1A18
monochromatic
#051A10 #0E4A2D #187D4C #22B06B #37D98A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187D4C#FFFFFF#000000##FFFFFF
##187D4C1.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)
#7C7249
Deuteranopia (green-blind)
#706A4F
Tritanopia (blue-blind)
#007C71
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187d4c;
/* rgb */ color: rgb(24, 125, 76);
/* oklch */ color: oklch(52.2% 0.118 156.2);
Tailwind
colors: {
  custom: {
    50: '#67a37e',
    500: '#187d4c',
    950: '#000000',
  },
}
SCSS
$custom: #187d4c;
$custom-light: #67a37e;
$custom-dark: #000000;
JSON
{
  "hex": "#187d4c",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 76
  },
  "hsl": {
    "h": 150.891,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52217,
    "c": 0.11766,
    "h": 156.2
  },
  "luminance": 0.15383
}

Semantic roles & 50–950 ramp

primary
#187D4C
secondary
#B23F77
accent
#3D91EB
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #187D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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