#187C4C#187C4C

#187C4C is a mid, moderate teal. Relative luminance 0.151; OKLCH L 51.9% C 0.116 H 156.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#187C4C
RGBrgb(24, 124, 76)
HSLhsl(151, 68%, 29%)
HSVhsv(151, 81%, 49%)
CMYKcmyk(80.6%, 0%, 38.7%, 51.4%)
CIE-LABlab(45.81, -39.48, 18.53)
CIE-LCHlch(45.81, 43.62, 154.86°)
OKLaboklab(51.93% -0.1066 0.0464)
OKLCHoklch(51.93% 0.116 156.5)
XYZxyz(8.8880, 15.1302, 9.2881)
Luminance0.1513 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C4C #7C1848
analogous
#187C1A #187C4C #187A7C
triadic
#187C4C #4C187C #7C4C18
tetradic
#187C4C #1A187C #7C1848 #7A7C18
square
#187C4C #1A187C #7C1848 #7A7C18
split-complementary
#187C4C #7C187A #7C1A18
monochromatic
#051A10 #0E492D #187C4C #22AF6B #36D88A

Accessibility & contrast

On white

5.22
#187C4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#187C4C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187C4C
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187C4C#FFFFFF#000000##FFFFFF
##187C4C1.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7149
Deuteranopia (green-blind)
#6F694F
Tritanopia (blue-blind)
#007B70
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187c4c;
/* rgb */ color: rgb(24, 124, 76);
/* oklch */ color: oklch(51.9% 0.116 156.5);
Tailwind
colors: {
  custom: {
    50: '#67a37e',
    500: '#187c4c',
    950: '#000000',
  },
}
SCSS
$custom: #187c4c;
$custom-light: #67a37e;
$custom-dark: #000000;
JSON
{
  "hex": "#187c4c",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 76
  },
  "hsl": {
    "h": 151.2,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51935,
    "c": 0.11628,
    "h": 156.5
  },
  "luminance": 0.15131
}

Semantic roles & 50–950 ramp

primary
#187C4C
secondary
#B13F76
accent
#3D90EA
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #187C4C

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

Preview Lab → · Contrast checker → · Palette generator →

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