#187C7B#187C7B

#187C7B is a mid, moderate teal. Relative luminance 0.160; OKLCH L 53.3% C 0.085 H 193.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#187C7B
RGBrgb(24, 124, 123)
HSLhsl(179, 68%, 29%)
HSVhsv(179, 81%, 49%)
CMYKcmyk(80.6%, 0%, 0.8%, 51.4%)
CIE-LABlab(47.02, -26.84, -7.33)
CIE-LCHlch(47.02, 27.82, 195.28°)
OKLaboklab(53.33% -0.0829 -0.0204)
OKLCHoklch(53.33% 0.085 193.9)
XYZxyz(11.1578, 16.0382, 21.2427)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C7B #7C1819
analogous
#187C49 #187C7B #184B7C
triadic
#187C7B #7B187C #7C7B18
tetradic
#187C7B #49187C #7C1819 #4B7C18
square
#187C7B #49187C #7C1819 #4B7C18
split-complementary
#187C7B #7C184B #7C4918
monochromatic
#051A19 #0E4948 #187C7B #22AFAE #36D8D7

Accessibility & contrast

On white

4.99
#187C7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#187C7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187C7B
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187C7B#FFFFFF#000000##FFFFFF
##187C7B1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73757B
Deuteranopia (green-blind)
#666B7C
Tritanopia (blue-blind)
#00807B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #187c7b;
/* rgb */ color: rgb(24, 124, 123);
/* oklch */ color: oklch(53.3% 0.085 193.9);
Tailwind
colors: {
  custom: {
    50: '#6aa2a1',
    500: '#187c7b',
    950: '#000000',
  },
}
SCSS
$custom: #187c7b;
$custom-light: #6aa2a1;
$custom-dark: #000000;
JSON
{
  "hex": "#187c7b",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 123
  },
  "hsl": {
    "h": 179.4,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53329,
    "c": 0.08534,
    "h": 193.9
  },
  "luminance": 0.1604
}

Semantic roles & 50–950 ramp

primary
#187C7B
secondary
#B13F40
accent
#3D3FEA
background
#F6FAF9
surface
#ECF3F2
border
#C7CDCC
text
#070F0E
muted
#7A7F7E

Preview Lab

Preview with #187C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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