#187F6F#187F6F

#187F6F is a mid, moderate teal. Relative luminance 0.165; OKLCH L 53.7% C 0.092 H 179.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#187F6F
RGBrgb(24, 127, 111)
HSLhsl(171, 68%, 30%)
HSVhsv(171, 81%, 50%)
CMYKcmyk(81.1%, 0%, 12.6%, 50.2%)
CIE-LABlab(47.65, -31.92, 0.68)
CIE-LCHlch(47.65, 31.93, 178.78°)
OKLaboklab(53.72% -0.0919 0.0013)
OKLCHoklch(53.72% 0.092 179.2)
XYZxyz(10.8339, 16.5193, 17.6534)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F6F #7F1828
analogous
#187F3C #187F6F #185B7F
triadic
#187F6F #6F187F #7F6F18
tetradic
#187F6F #3C187F #7F1828 #5B7F18
square
#187F6F #3C187F #7F1828 #5B7F18
split-complementary
#187F6F #7F185B #7F3C18
monochromatic
#051A16 #0E4C42 #187F6F #22B29C #38D9C0

Accessibility & contrast

On white

4.88
#187F6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#187F6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187F6F
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F6F#FFFFFF#000000##FFFFFF
##187F6F1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#79776E
Deuteranopia (green-blind)
#6C6D70
Tritanopia (blue-blind)
#00817A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #187f6f;
/* rgb */ color: rgb(24, 127, 111);
/* oklch */ color: oklch(53.7% 0.092 179.2);
Tailwind
colors: {
  custom: {
    50: '#69a598',
    500: '#187f6f',
    950: '#000000',
  },
}
SCSS
$custom: #187f6f;
$custom-light: #69a598;
$custom-dark: #000000;
JSON
{
  "hex": "#187f6f",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 111
  },
  "hsl": {
    "h": 170.68,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53717,
    "c": 0.0919,
    "h": 179.2
  },
  "luminance": 0.16521
}

Semantic roles & 50–950 ramp

primary
#187F6F
secondary
#B33F51
accent
#3D58EB
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#070F0D
muted
#7A7F7E

Preview Lab

Preview with #187F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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