#187B5C#187B5C

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

Color values

HEX#187B5C
RGBrgb(24, 123, 92)
HSLhsl(161, 67%, 29%)
HSVhsv(161, 80%, 48%)
CMYKcmyk(80.5%, 0%, 25.2%, 51.8%)
CIE-LABlab(45.81, -35.30, 9.25)
CIE-LCHlch(45.81, 36.49, 165.32°)
OKLaboklab(52.05% -0.0974 0.0236)
OKLCHoklch(52.05% 0.1 166.4)
XYZxyz(9.3903, 15.1317, 12.5489)
Luminance0.1513 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B5C #7B1837
analogous
#187B2B #187B5C #18697B
triadic
#187B5C #5C187B #7B5C18
tetradic
#187B5C #2B187B #7B1837 #697B18
square
#187B5C #2B187B #7B1837 #697B18
split-complementary
#187B5C #7B1869 #7B2B18
monochromatic
#051A13 #0E4836 #187B5C #22AE82 #36D8A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187B5C#FFFFFF#000000##FFFFFF
##187B5C1.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)
#78725A
Deuteranopia (green-blind)
#6C695E
Tritanopia (blue-blind)
#007B72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187b5c;
/* rgb */ color: rgb(24, 123, 92);
/* oklch */ color: oklch(52.0% 0.100 166.4);
Tailwind
colors: {
  custom: {
    50: '#67a28a',
    500: '#187b5c',
    950: '#000000',
  },
}
SCSS
$custom: #187b5c;
$custom-light: #67a28a;
$custom-dark: #000000;
JSON
{
  "hex": "#187b5c",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 92
  },
  "hsl": {
    "h": 161.212,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52049,
    "c": 0.10018,
    "h": 166.4
  },
  "luminance": 0.15133
}

Semantic roles & 50–950 ramp

primary
#187B5C
secondary
#B03F62
accent
#3E74EA
background
#F6FAF8
surface
#EBF3F0
border
#C6CDCB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #187B5C

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

Preview Lab → · Contrast checker → · Palette generator →

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