#187F7C#187F7C

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

Color values

HEX#187F7C
RGBrgb(24, 127, 124)
HSLhsl(178, 68%, 30%)
HSVhsv(178, 81%, 50%)
CMYKcmyk(81.1%, 0%, 2.4%, 50.2%)
CIE-LABlab(48.04, -28.01, -6.41)
CIE-LCHlch(48.04, 28.73, 192.89°)
OKLaboklab(54.17% -0.0855 -0.0179)
OKLCHoklch(54.17% 0.087 191.8)
XYZxyz(11.6024, 16.8267, 21.7013)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F7C #7F181B
analogous
#187F48 #187F7C #184F7F
triadic
#187F7C #7C187F #7F7C18
tetradic
#187F7C #48187F #7F181B #4F7F18
square
#187F7C #48187F #7F181B #4F7F18
split-complementary
#187F7C #7F184F #7F4818
monochromatic
#051A19 #0E4C4A #187F7C #22B2AE #38D9D5

Accessibility & contrast

On white

4.81
#187F7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#187F7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187F7C
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F7C#FFFFFF#000000##FFFFFF
##187F7C1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77787C
Deuteranopia (green-blind)
#696E7D
Tritanopia (blue-blind)
#00837E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #187f7c;
/* rgb */ color: rgb(24, 127, 124);
/* oklch */ color: oklch(54.2% 0.087 191.8);
Tailwind
colors: {
  custom: {
    50: '#6aa4a1',
    500: '#187f7c',
    950: '#000000',
  },
}
SCSS
$custom: #187f7c;
$custom-light: #6aa4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#187f7c",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 124
  },
  "hsl": {
    "h": 178.252,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54167,
    "c": 0.08736,
    "h": 191.8
  },
  "luminance": 0.16828
}

Semantic roles & 50–950 ramp

primary
#187F7C
secondary
#B33F43
accent
#3D42EB
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#080F0F
muted
#7A7F7E

Preview Lab

Preview with #187F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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