#187F7B#187F7B

#187F7B is a mid, moderate teal. Relative luminance 0.168; OKLCH L 54.1% C 0.088 H 190.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#187F7B
RGBrgb(24, 127, 123)
HSLhsl(178, 68%, 30%)
HSVhsv(178, 81%, 50%)
CMYKcmyk(81.1%, 0%, 3.1%, 50.2%)
CIE-LABlab(48.01, -28.32, -5.87)
CIE-LCHlch(48.01, 28.92, 191.71°)
OKLaboklab(54.13% -0.086 -0.0164)
OKLCHoklch(54.13% 0.088 190.8)
XYZxyz(11.5395, 16.8016, 21.3699)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F7B #7F181C
analogous
#187F48 #187F7B #18507F
triadic
#187F7B #7B187F #7F7B18
tetradic
#187F7B #48187F #7F181C #507F18
square
#187F7B #48187F #7F181C #507F18
split-complementary
#187F7B #7F1850 #7F4818
monochromatic
#051A19 #0E4C49 #187F7B #22B2AD #38D9D3

Accessibility & contrast

On white

4.82
#187F7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#187F7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187F7B
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F7B#FFFFFF#000000##FFFFFF
##187F7B1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #187f7b;
/* rgb */ color: rgb(24, 127, 123);
/* oklch */ color: oklch(54.1% 0.088 190.8);
Tailwind
colors: {
  custom: {
    50: '#6aa4a1',
    500: '#187f7b',
    950: '#000000',
  },
}
SCSS
$custom: #187f7b;
$custom-light: #6aa4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#187f7b",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 123
  },
  "hsl": {
    "h": 177.67,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5413,
    "c": 0.08754,
    "h": 190.8
  },
  "luminance": 0.16803
}

Semantic roles & 50–950 ramp

primary
#187F7B
secondary
#B33F44
accent
#3D44EB
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#080F0E
muted
#7A7F7E

Preview Lab

Preview with #187F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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