#187B4C#187B4C

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

Color values

HEX#187B4C
RGBrgb(24, 123, 76)
HSLhsl(152, 67%, 29%)
HSVhsv(152, 80%, 48%)
CMYKcmyk(80.5%, 0%, 38.2%, 51.8%)
CIE-LABlab(45.47, -39.08, 18.07)
CIE-LCHlch(45.47, 43.06, 155.18°)
OKLaboklab(51.65% -0.1056 0.0453)
OKLCHoklch(51.65% 0.115 156.8)
XYZxyz(8.7633, 14.8808, 9.2465)
Luminance0.1488 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B4C #7B1847
analogous
#187B1B #187B4C #18797B
triadic
#187B4C #4C187B #7B4C18
tetradic
#187B4C #1B187B #7B1847 #797B18
square
#187B4C #1B187B #7B1847 #797B18
split-complementary
#187B4C #7B1879 #7B1B18
monochromatic
#051A10 #0E482C #187B4C #22AE6C #36D88B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187B4C#FFFFFF#000000##FFFFFF
##187B4C1.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)
#7A7149
Deuteranopia (green-blind)
#6E684F
Tritanopia (blue-blind)
#007A6F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187b4c;
/* rgb */ color: rgb(24, 123, 76);
/* oklch */ color: oklch(51.7% 0.115 156.8);
Tailwind
colors: {
  custom: {
    50: '#67a27e',
    500: '#187b4c',
    950: '#000000',
  },
}
SCSS
$custom: #187b4c;
$custom-light: #67a27e;
$custom-dark: #000000;
JSON
{
  "hex": "#187b4c",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 76
  },
  "hsl": {
    "h": 151.515,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51653,
    "c": 0.11488,
    "h": 156.8
  },
  "luminance": 0.14882
}

Semantic roles & 50–950 ramp

primary
#187B4C
secondary
#B03F75
accent
#3E90EA
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #187B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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