#187B4D#187B4D

#187B4D is a mid, moderate teal. Relative luminance 0.149; OKLCH L 51.7% C 0.114 H 157.3°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#187B4D
RGBrgb(24, 123, 77)
HSLhsl(152, 67%, 29%)
HSVhsv(152, 80%, 48%)
CMYKcmyk(80.5%, 0%, 37.4%, 51.8%)
CIE-LABlab(45.49, -38.86, 17.53)
CIE-LCHlch(45.49, 42.63, 155.72°)
OKLaboklab(51.68% -0.1051 0.044)
OKLCHoklch(51.68% 0.114 157.3)
XYZxyz(8.7983, 14.8949, 9.4310)
Luminance0.1490 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B4D #7B1846
analogous
#187B1C #187B4D #18787B
triadic
#187B4D #4D187B #7B4D18
tetradic
#187B4D #1C187B #7B1846 #787B18
square
#187B4D #1C187B #7B1846 #787B18
split-complementary
#187B4D #7B1878 #7B1C18
monochromatic
#051A10 #0E482D #187B4D #22AE6D #36D88C

Accessibility & contrast

On white

5.28
#187B4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#187B4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187B4D
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187B4D#FFFFFF#000000##FFFFFF
##187B4D1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A714A
Deuteranopia (green-blind)
#6E6850
Tritanopia (blue-blind)
#007A6F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187b4d;
/* rgb */ color: rgb(24, 123, 77);
/* oklch */ color: oklch(51.7% 0.114 157.3);
Tailwind
colors: {
  custom: {
    50: '#67a27f',
    500: '#187b4d',
    950: '#000000',
  },
}
SCSS
$custom: #187b4d;
$custom-light: #67a27f;
$custom-dark: #000000;
JSON
{
  "hex": "#187b4d",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 77
  },
  "hsl": {
    "h": 152.121,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51676,
    "c": 0.11391,
    "h": 157.3
  },
  "luminance": 0.14896
}

Semantic roles & 50–950 ramp

primary
#187B4D
secondary
#B03F73
accent
#3E8EEA
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #187B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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