#187B5B#187B5B

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

Color values

HEX#187B5B
RGBrgb(24, 123, 91)
HSLhsl(161, 67%, 29%)
HSVhsv(161, 80%, 48%)
CMYKcmyk(80.5%, 0%, 26%, 51.8%)
CIE-LABlab(45.79, -35.55, 9.80)
CIE-LCHlch(45.79, 36.88, 164.59°)
OKLaboklab(52.02% -0.0979 0.025)
OKLCHoklch(52.02% 0.101 165.7)
XYZxyz(9.3469, 15.1143, 12.3202)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B5B #7B1838
analogous
#187B2A #187B5B #186A7B
triadic
#187B5B #5B187B #7B5B18
tetradic
#187B5B #2A187B #7B1838 #6A7B18
square
#187B5B #2A187B #7B1838 #6A7B18
split-complementary
#187B5B #7B186A #7B2A18
monochromatic
#051A13 #0E4835 #187B5B #22AE81 #36D8A3

Accessibility & contrast

On white

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

On black

4.02
#187B5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##187B5B#FFFFFF#000000##FFFFFF
##187B5B1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787259
Deuteranopia (green-blind)
#6C695D
Tritanopia (blue-blind)
#007B72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187b5b;
/* rgb */ color: rgb(24, 123, 91);
/* oklch */ color: oklch(52.0% 0.101 165.7);
Tailwind
colors: {
  custom: {
    50: '#67a289',
    500: '#187b5b',
    950: '#000000',
  },
}
SCSS
$custom: #187b5b;
$custom-light: #67a289;
$custom-dark: #000000;
JSON
{
  "hex": "#187b5b",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 91
  },
  "hsl": {
    "h": 160.606,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52022,
    "c": 0.10103,
    "h": 165.7
  },
  "luminance": 0.15115
}

Semantic roles & 50–950 ramp

primary
#187B5B
secondary
#B03F64
accent
#3E75EA
background
#F6FAF8
surface
#EBF3F0
border
#C6CDCB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #187B5B

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

Preview Lab → · Contrast checker → · Palette generator →

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