#187D7E#187D7E

#187D7E is a mid, moderate teal. Relative luminance 0.164; OKLCH L 53.7% C 0.086 H 195.9°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#187D7E
RGBrgb(24, 125, 126)
HSLhsl(181, 68%, 29%)
HSVhsv(181, 81%, 49%)
CMYKcmyk(81%, 0.8%, 0%, 50.6%)
CIE-LABlab(47.45, -26.38, -8.47)
CIE-LCHlch(47.45, 27.71, 197.80°)
OKLaboklab(53.71% -0.0825 -0.0236)
OKLCHoklch(53.71% 0.086 195.9)
XYZxyz(11.4745, 16.3663, 22.2889)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D7E #7E1918
analogous
#187E4C #187D7E #184A7E
triadic
#187D7E #7E187D #7D7E18
tetradic
#187D7E #4C187E #7E1918 #4A7E18
square
#187D7E #4C187E #7E1918 #4A7E18
split-complementary
#187D7E #7E184A #7E4C18
monochromatic
#051A1A #0E4A4B #187D7E #22B0B1 #37D7D9

Accessibility & contrast

On white

4.91
#187D7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#187D7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187D7E
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187D7E#FFFFFF#000000##FFFFFF
##187D7E1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74777E
Deuteranopia (green-blind)
#666C7F
Tritanopia (blue-blind)
#00817D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #187d7e;
/* rgb */ color: rgb(24, 125, 126);
/* oklch */ color: oklch(53.7% 0.086 195.9);
Tailwind
colors: {
  custom: {
    50: '#6aa3a3',
    500: '#187d7e',
    950: '#000000',
  },
}
SCSS
$custom: #187d7e;
$custom-light: #6aa3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#187d7e",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 126
  },
  "hsl": {
    "h": 180.588,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53709,
    "c": 0.08578,
    "h": 195.9
  },
  "luminance": 0.16368
}

Semantic roles & 50–950 ramp

primary
#187D7E
secondary
#B2403F
accent
#3F3DEB
background
#F6FAFA
surface
#ECF4F3
border
#C7CECD
text
#080F0F
muted
#7A7F7F

Preview Lab

Preview with #187D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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