#187B5D#187B5D

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

Color values

HEX#187B5D
RGBrgb(24, 123, 93)
HSLhsl(162, 67%, 29%)
HSVhsv(162, 80%, 48%)
CMYKcmyk(80.5%, 0%, 24.4%, 51.8%)
CIE-LABlab(45.84, -35.04, 8.69)
CIE-LCHlch(45.84, 36.10, 166.07°)
OKLaboklab(52.08% -0.0968 0.0222)
OKLCHoklch(52.08% 0.099 167.1)
XYZxyz(9.4343, 15.1493, 12.7807)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B5D #7B1836
analogous
#187B2C #187B5D #18687B
triadic
#187B5D #5D187B #7B5D18
tetradic
#187B5D #2C187B #7B1836 #687B18
square
#187B5D #2C187B #7B1836 #687B18
split-complementary
#187B5D #7B1868 #7B2C18
monochromatic
#051A13 #0E4836 #187B5D #22AE84 #36D8A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187B5D#FFFFFF#000000##FFFFFF
##187B5D1.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)
#78725B
Deuteranopia (green-blind)
#6C695F
Tritanopia (blue-blind)
#007B73
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187b5d;
/* rgb */ color: rgb(24, 123, 93);
/* oklch */ color: oklch(52.1% 0.099 167.1);
Tailwind
colors: {
  custom: {
    50: '#67a28b',
    500: '#187b5d',
    950: '#000000',
  },
}
SCSS
$custom: #187b5d;
$custom-light: #67a28b;
$custom-dark: #000000;
JSON
{
  "hex": "#187b5d",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 93
  },
  "hsl": {
    "h": 161.818,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52077,
    "c": 0.09935,
    "h": 167.1
  },
  "luminance": 0.1515
}

Semantic roles & 50–950 ramp

primary
#187B5D
secondary
#B03F61
accent
#3E72EA
background
#F6FAF8
surface
#EBF3F0
border
#C6CDCB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #187B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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