#187B7C#187B7C

#187B7C is a mid, moderate teal. Relative luminance 0.158; OKLCH L 53.1% C 0.085 H 196.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#187B7C
RGBrgb(24, 123, 124)
HSLhsl(181, 68%, 29%)
HSVhsv(181, 81%, 49%)
CMYKcmyk(80.6%, 0.8%, 0%, 51.4%)
CIE-LABlab(46.73, -26.02, -8.37)
CIE-LCHlch(46.73, 27.33, 197.83°)
OKLaboklab(53.1% -0.0813 -0.0233)
OKLCHoklch(53.1% 0.085 196)
XYZxyz(11.0961, 15.8140, 21.5325)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B7C #7C1918
analogous
#187C4B #187B7C #18497C
triadic
#187B7C #7C187B #7B7C18
tetradic
#187B7C #4B187C #7C1918 #497C18
square
#187B7C #4B187C #7C1918 #497C18
split-complementary
#187B7C #7C1849 #7C4B18
monochromatic
#05191A #0E4849 #187B7C #22AEAF #36D7D8

Accessibility & contrast

On white

5.04
#187B7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#187B7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187B7C
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187B7C#FFFFFF#000000##FFFFFF
##187B7C1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72757C
Deuteranopia (green-blind)
#646A7D
Tritanopia (blue-blind)
#007F7B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #187b7c;
/* rgb */ color: rgb(24, 123, 124);
/* oklch */ color: oklch(53.1% 0.085 196.0);
Tailwind
colors: {
  custom: {
    50: '#6aa1a1',
    500: '#187b7c',
    950: '#000000',
  },
}
SCSS
$custom: #187b7c;
$custom-light: #6aa1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#187b7c",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 124
  },
  "hsl": {
    "h": 180.6,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.531,
    "c": 0.08461,
    "h": 196
  },
  "luminance": 0.15815
}

Semantic roles & 50–950 ramp

primary
#187B7C
secondary
#B1403F
accent
#3F3DEA
background
#F6FAF9
surface
#ECF3F2
border
#C7CDCC
text
#070F0F
muted
#7A7F7E

Preview Lab

Preview with #187B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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