#187E7F#187E7F

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

Color values

HEX#187E7F
RGBrgb(24, 126, 127)
HSLhsl(181, 68%, 30%)
HSVhsv(181, 81%, 50%)
CMYKcmyk(81.1%, 0.8%, 0%, 50.2%)
CIE-LABlab(47.81, -26.56, -8.52)
CIE-LCHlch(47.81, 27.90, 197.79°)
OKLaboklab(54.01% -0.083 -0.0237)
OKLCHoklch(54.01% 0.086 195.9)
XYZxyz(11.6665, 16.6467, 22.6728)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E7F #7F1918
analogous
#187F4D #187E7F #184A7F
triadic
#187E7F #7F187E #7E7F18
tetradic
#187E7F #4D187F #7F1918 #4A7F18
square
#187E7F #4D187F #7F1918 #4A7F18
split-complementary
#187E7F #7F184A #7F4D18
monochromatic
#051A1A #0E4B4C #187E7F #22B1B2 #38D8D9

Accessibility & contrast

On white

4.85
#187E7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#187E7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187E7F
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187E7F#FFFFFF#000000##FFFFFF
##187E7F1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75787F
Deuteranopia (green-blind)
#676D80
Tritanopia (blue-blind)
#00827E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #187e7f;
/* rgb */ color: rgb(24, 126, 127);
/* oklch */ color: oklch(54.0% 0.086 195.9);
Tailwind
colors: {
  custom: {
    50: '#6aa4a4',
    500: '#187e7f',
    950: '#000000',
  },
}
SCSS
$custom: #187e7f;
$custom-light: #6aa4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#187e7f",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 127
  },
  "hsl": {
    "h": 180.583,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54013,
    "c": 0.08636,
    "h": 195.9
  },
  "luminance": 0.16648
}

Semantic roles & 50–950 ramp

primary
#187E7F
secondary
#B3413F
accent
#3E3DEB
background
#F6FAFA
surface
#ECF4F4
border
#C7CECE
text
#080F0F
muted
#7A7F7F

Preview Lab

Preview with #187E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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