#187C4D#187C4D

#187C4D is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.0% C 0.115 H 157.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#187C4D
RGBrgb(24, 124, 77)
HSLhsl(152, 68%, 29%)
HSVhsv(152, 81%, 49%)
CMYKcmyk(80.6%, 0%, 37.9%, 51.4%)
CIE-LABlab(45.83, -39.27, 17.98)
CIE-LCHlch(45.83, 43.19, 155.39°)
OKLaboklab(51.96% -0.1061 0.0451)
OKLCHoklch(51.96% 0.115 157)
XYZxyz(8.9230, 15.1442, 9.4726)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C4D #7C1847
analogous
#187C1B #187C4D #18797C
triadic
#187C4D #4D187C #7C4D18
tetradic
#187C4D #1B187C #7C1847 #797C18
square
#187C4D #1B187C #7C1847 #797C18
split-complementary
#187C4D #7C1879 #7C1B18
monochromatic
#051A10 #0E492D #187C4D #22AF6D #36D88C

Accessibility & contrast

On white

5.21
#187C4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #187C4D
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187C4D#FFFFFF#000000##FFFFFF
##187C4D1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B724A
Deuteranopia (green-blind)
#6F6950
Tritanopia (blue-blind)
#007B70
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187c4d;
/* rgb */ color: rgb(24, 124, 77);
/* oklch */ color: oklch(52.0% 0.115 157.0);
Tailwind
colors: {
  custom: {
    50: '#67a37f',
    500: '#187c4d',
    950: '#000000',
  },
}
SCSS
$custom: #187c4d;
$custom-light: #67a37f;
$custom-dark: #000000;
JSON
{
  "hex": "#187c4d",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 77
  },
  "hsl": {
    "h": 151.8,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51957,
    "c": 0.1153,
    "h": 157
  },
  "luminance": 0.15145
}

Semantic roles & 50–950 ramp

primary
#187C4D
secondary
#B13F74
accent
#3D8FEA
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #187C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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