#187E7E#187E7E

#187E7E is a mid, moderate teal. Relative luminance 0.166; OKLCH L 54.0% C 0.086 H 194.9°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#187E7E
RGBrgb(24, 126, 126)
HSLhsl(180, 68%, 29%)
HSVhsv(180, 81%, 49%)
CMYKcmyk(81%, 0%, 0%, 50.6%)
CIE-LABlab(47.78, -26.88, -7.98)
CIE-LCHlch(47.78, 28.04, 196.54°)
OKLaboklab(53.97% -0.0835 -0.0222)
OKLCHoklch(53.97% 0.086 194.9)
XYZxyz(11.6017, 16.6208, 22.3313)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E7E #7E1818
analogous
#187E4B #187E7E #184B7E
triadic
#187E7E #7E187E #7E7E18
tetradic
#187E7E #4B187E #7E1818 #4B7E18
square
#187E7E #4B187E #7E1818 #4B7E18
split-complementary
#187E7E #7E184B #7E4B18
monochromatic
#051A1A #0E4B4B #187E7E #22B1B1 #37D9D9

Accessibility & contrast

On white

4.86
#187E7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#187E7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187E7E
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187E7E#FFFFFF#000000##FFFFFF
##187E7E1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75777E
Deuteranopia (green-blind)
#676D7F
Tritanopia (blue-blind)
#00827E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #187e7e;
/* rgb */ color: rgb(24, 126, 126);
/* oklch */ color: oklch(54.0% 0.086 194.9);
Tailwind
colors: {
  custom: {
    50: '#6aa4a3',
    500: '#187e7e',
    950: '#000000',
  },
}
SCSS
$custom: #187e7e;
$custom-light: #6aa4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#187e7e",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 126
  },
  "hsl": {
    "h": 180,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53975,
    "c": 0.08642,
    "h": 194.9
  },
  "luminance": 0.16622
}

Semantic roles & 50–950 ramp

primary
#187E7E
secondary
#B23F3F
accent
#3D3DEB
background
#F6FAFA
surface
#ECF4F3
border
#C7CECD
text
#080F0F
muted
#7A7F7F

Preview Lab

Preview with #187E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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