#187D5E#187D5E

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

Color values

HEX#187D5E
RGBrgb(24, 125, 94)
HSLhsl(162, 68%, 29%)
HSVhsv(162, 81%, 49%)
CMYKcmyk(80.8%, 0%, 24.8%, 51%)
CIE-LABlab(46.54, -35.66, 9.09)
CIE-LCHlch(46.54, 36.80, 165.70°)
OKLaboklab(52.66% -0.0984 0.0232)
OKLCHoklch(52.66% 0.101 166.7)
XYZxyz(9.7295, 15.6684, 13.0990)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D5E #7D1837
analogous
#187D2C #187D5E #186A7D
triadic
#187D5E #5E187D #7D5E18
tetradic
#187D5E #2C187D #7D1837 #6A7D18
square
#187D5E #2C187D #7D1837 #6A7D18
split-complementary
#187D5E #7D186A #7D2C18
monochromatic
#051A13 #0E4A37 #187D5E #22B085 #37D9A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187D5E#FFFFFF#000000##FFFFFF
##187D5E1.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)
#7A745C
Deuteranopia (green-blind)
#6D6B60
Tritanopia (blue-blind)
#007D74
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187d5e;
/* rgb */ color: rgb(24, 125, 94);
/* oklch */ color: oklch(52.7% 0.101 166.7);
Tailwind
colors: {
  custom: {
    50: '#68a38b',
    500: '#187d5e',
    950: '#000000',
  },
}
SCSS
$custom: #187d5e;
$custom-light: #68a38b;
$custom-dark: #000000;
JSON
{
  "hex": "#187d5e",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 94
  },
  "hsl": {
    "h": 161.584,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52658,
    "c": 0.10115,
    "h": 166.7
  },
  "luminance": 0.1567
}

Semantic roles & 50–950 ramp

primary
#187D5E
secondary
#B23F62
accent
#3D72EB
background
#F6FAF8
surface
#EBF4F0
border
#C6CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #187D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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