#187F7E#187F7E

#187F7E is a mid, moderate teal. Relative luminance 0.169; OKLCH L 54.2% C 0.087 H 193.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#187F7E
RGBrgb(24, 127, 126)
HSLhsl(179, 68%, 30%)
HSVhsv(179, 81%, 50%)
CMYKcmyk(81.1%, 0%, 0.8%, 50.2%)
CIE-LABlab(48.11, -27.38, -7.49)
CIE-LCHlch(48.11, 28.39, 195.31°)
OKLaboklab(54.24% -0.0845 -0.0209)
OKLCHoklch(54.24% 0.087 193.9)
XYZxyz(11.7302, 16.8778, 22.3741)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F7E #7F1819
analogous
#187F4A #187F7E #184D7F
triadic
#187F7E #7E187F #7F7E18
tetradic
#187F7E #4A187F #7F1819 #4D7F18
square
#187F7E #4A187F #7F1819 #4D7F18
split-complementary
#187F7E #7F184D #7F4A18
monochromatic
#051A1A #0E4C4B #187F7E #22B2B1 #38D9D8

Accessibility & contrast

On white

4.80
#187F7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#187F7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187F7E
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F7E#FFFFFF#000000##FFFFFF
##187F7E1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76787E
Deuteranopia (green-blind)
#686E7F
Tritanopia (blue-blind)
#00837E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #187f7e;
/* rgb */ color: rgb(24, 127, 126);
/* oklch */ color: oklch(54.2% 0.087 193.9);
Tailwind
colors: {
  custom: {
    50: '#6aa4a3',
    500: '#187f7e',
    950: '#000000',
  },
}
SCSS
$custom: #187f7e;
$custom-light: #6aa4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#187f7e",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 126
  },
  "hsl": {
    "h": 179.417,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54241,
    "c": 0.08709,
    "h": 193.9
  },
  "luminance": 0.16879
}

Semantic roles & 50–950 ramp

primary
#187F7E
secondary
#B33F41
accent
#3D3EEB
background
#F6FAFA
surface
#ECF4F3
border
#C7CECD
text
#080F0F
muted
#7A7F7F

Preview Lab

Preview with #187F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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