#186C5F#186C5F

#186C5F is a mid, moderate teal. Relative luminance 0.117; OKLCH L 48.0% C 0.080 H 179.8°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#186C5F
RGBrgb(24, 108, 95)
HSLhsl(171, 64%, 26%)
HSVhsv(171, 78%, 42%)
CMYKcmyk(77.8%, 0%, 12%, 57.6%)
CIE-LABlab(40.81, -27.54, 0.28)
CIE-LCHlch(40.81, 27.54, 179.43°)
OKLaboklab(47.97% -0.0796 0.0003)
OKLCHoklch(47.97% 0.08 179.8)
XYZxyz(7.8038, 11.7446, 12.6799)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186C5F #6C1825
analogous
#186C35 #186C5F #184F6C
triadic
#186C5F #5F186C #6C5F18
tetradic
#186C5F #35186C #6C1825 #4F6C18
square
#186C5F #35186C #6C1825 #4F6C18
split-complementary
#186C5F #6C184F #6C3518
monochromatic
#061916 #0D3A33 #186C5F #239E8B #2ED0B7

Accessibility & contrast

On white

6.27
#186C5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#186C5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186C5F
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186C5F#FFFFFF#000000##FFFFFF
##186C5F1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67655E
Deuteranopia (green-blind)
#5C5D60
Tritanopia (blue-blind)
#006E68
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #186c5f;
/* rgb */ color: rgb(24, 108, 95);
/* oklch */ color: oklch(48.0% 0.080 179.8);
Tailwind
colors: {
  custom: {
    50: '#64968c',
    500: '#186c5f',
    950: '#000000',
  },
}
SCSS
$custom: #186c5f;
$custom-light: #64968c;
$custom-dark: #000000;
JSON
{
  "hex": "#186c5f",
  "rgb": {
    "r": 24,
    "g": 108,
    "b": 95
  },
  "hsl": {
    "h": 170.714,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.47974,
    "c": 0.07956,
    "h": 179.8
  },
  "luminance": 0.11746
}

Semantic roles & 50–950 ramp

primary
#186C5F
secondary
#A23E4D
accent
#415BE7
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#060D0C
muted
#7A7E7D

Preview Lab

Preview with #186C5F

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

Preview Lab → · Contrast checker → · Palette generator →

#186C5F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva