#187D5D#187D5D

#187D5D is a mid, moderate teal. Relative luminance 0.157; OKLCH L 52.6% C 0.102 H 166.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#187D5D
RGBrgb(24, 125, 93)
HSLhsl(161, 68%, 29%)
HSVhsv(161, 81%, 49%)
CMYKcmyk(80.8%, 0%, 25.6%, 51%)
CIE-LABlab(46.51, -35.91, 9.64)
CIE-LCHlch(46.51, 37.18, 164.97°)
OKLaboklab(52.63% -0.099 0.0246)
OKLCHoklch(52.63% 0.102 166)
XYZxyz(9.6850, 15.6505, 12.8642)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D5D #7D1838
analogous
#187D2B #187D5D #186B7D
triadic
#187D5D #5D187D #7D5D18
tetradic
#187D5D #2B187D #7D1838 #6B7D18
square
#187D5D #2B187D #7D1838 #6B7D18
split-complementary
#187D5D #7D186B #7D2B18
monochromatic
#051A13 #0E4A37 #187D5D #22B083 #37D9A5

Accessibility & contrast

On white

5.08
#187D5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#187D5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187D5D
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187D5D#FFFFFF#000000##FFFFFF
##187D5D1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A745B
Deuteranopia (green-blind)
#6E6B5F
Tritanopia (blue-blind)
#007D74
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187d5d;
/* rgb */ color: rgb(24, 125, 93);
/* oklch */ color: oklch(52.6% 0.102 166.0);
Tailwind
colors: {
  custom: {
    50: '#67a38b',
    500: '#187d5d',
    950: '#000000',
  },
}
SCSS
$custom: #187d5d;
$custom-light: #67a38b;
$custom-dark: #000000;
JSON
{
  "hex": "#187d5d",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 93
  },
  "hsl": {
    "h": 160.99,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52631,
    "c": 0.10198,
    "h": 166
  },
  "luminance": 0.15652
}

Semantic roles & 50–950 ramp

primary
#187D5D
secondary
#B23F63
accent
#3D74EB
background
#F6FAF8
surface
#EBF4F0
border
#C6CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #187D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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