#187E7B#187E7B

#187E7B is a mid, moderate teal. Relative luminance 0.165; OKLCH L 53.9% C 0.087 H 191.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#187E7B
RGBrgb(24, 126, 123)
HSLhsl(178, 68%, 29%)
HSVhsv(178, 81%, 49%)
CMYKcmyk(81%, 0%, 2.4%, 50.6%)
CIE-LABlab(47.68, -27.83, -6.36)
CIE-LCHlch(47.68, 28.54, 192.87°)
OKLaboklab(53.86% -0.0849 -0.0177)
OKLCHoklch(53.86% 0.087 191.8)
XYZxyz(11.4110, 16.5445, 21.3271)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E7B #7E181B
analogous
#187E48 #187E7B #184E7E
triadic
#187E7B #7B187E #7E7B18
tetradic
#187E7B #48187E #7E181B #4E7E18
square
#187E7B #48187E #7E181B #4E7E18
split-complementary
#187E7B #7E184E #7E4818
monochromatic
#051A19 #0E4B49 #187E7B #22B1AD #37D9D4

Accessibility & contrast

On white

4.87
#187E7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#187E7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187E7B
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187E7B#FFFFFF#000000##FFFFFF
##187E7B1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76777B
Deuteranopia (green-blind)
#686D7C
Tritanopia (blue-blind)
#00827D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #187e7b;
/* rgb */ color: rgb(24, 126, 123);
/* oklch */ color: oklch(53.9% 0.087 191.8);
Tailwind
colors: {
  custom: {
    50: '#6aa4a1',
    500: '#187e7b',
    950: '#000000',
  },
}
SCSS
$custom: #187e7b;
$custom-light: #6aa4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#187e7b",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 123
  },
  "hsl": {
    "h": 178.235,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53863,
    "c": 0.08678,
    "h": 191.8
  },
  "luminance": 0.16546
}

Semantic roles & 50–950 ramp

primary
#187E7B
secondary
#B23F43
accent
#3D42EB
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#080F0E
muted
#7A7F7E

Preview Lab

Preview with #187E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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