#187B7F#187B7F

#187B7F is a mid, moderate teal. Relative luminance 0.159; OKLCH L 53.2% C 0.085 H 199.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#187B7F
RGBrgb(24, 123, 127)
HSLhsl(182, 68%, 30%)
HSVhsv(182, 81%, 50%)
CMYKcmyk(81.1%, 3.1%, 0%, 50.2%)
CIE-LABlab(46.83, -25.05, -9.99)
CIE-LCHlch(46.83, 26.97, 201.75°)
OKLaboklab(53.22% -0.0799 -0.0278)
OKLCHoklch(53.22% 0.085 199.2)
XYZxyz(11.2887, 15.8910, 22.5469)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B7F #7F1C18
analogous
#187F50 #187B7F #18487F
triadic
#187B7F #7F187B #7B7F18
tetradic
#187B7F #50187F #7F1C18 #487F18
square
#187B7F #50187F #7F1C18 #487F18
split-complementary
#187B7F #7F1848 #7F5018
monochromatic
#05191A #0E494C #187B7F #22ADB2 #38D3D9

Accessibility & contrast

On white

5.03
#187B7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#187B7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187B7F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187B7F#FFFFFF#000000##FFFFFF
##187B7F1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71757F
Deuteranopia (green-blind)
#636B7F
Tritanopia (blue-blind)
#00807C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #187b7f;
/* rgb */ color: rgb(24, 123, 127);
/* oklch */ color: oklch(53.2% 0.085 199.2);
Tailwind
colors: {
  custom: {
    50: '#6aa1a4',
    500: '#187b7f',
    950: '#000000',
  },
}
SCSS
$custom: #187b7f;
$custom-light: #6aa1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#187b7f",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 127
  },
  "hsl": {
    "h": 182.33,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53217,
    "c": 0.08462,
    "h": 199.2
  },
  "luminance": 0.15892
}

Semantic roles & 50–950 ramp

primary
#187B7F
secondary
#B3443F
accent
#443DEB
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080F0F
muted
#7A7E7F

Preview Lab

Preview with #187B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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