#186A5F#186A5F

#186A5F is a mid, moderate teal. Relative luminance 0.113; OKLCH L 47.4% C 0.077 H 181.8°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#186A5F
RGBrgb(24, 106, 95)
HSLhsl(172, 63%, 25%)
HSVhsv(172, 77%, 42%)
CMYKcmyk(77.4%, 0%, 10.4%, 58.4%)
CIE-LABlab(40.13, -26.56, -0.72)
CIE-LCHlch(40.13, 26.57, 181.55°)
OKLaboklab(47.42% -0.0773 -0.0024)
OKLCHoklch(47.42% 0.077 181.8)
XYZxyz(7.5953, 11.3276, 12.6104)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186A5F #6A1823
analogous
#186A36 #186A5F #184C6A
triadic
#186A5F #5F186A #6A5F18
tetradic
#186A5F #36186A #6A1823 #4C6A18
square
#186A5F #36186A #6A1823 #4C6A18
split-complementary
#186A5F #6A184C #6A3618
monochromatic
#061916 #0D3832 #186A5F #239C8C #2FCEB8

Accessibility & contrast

On white

6.43
#186A5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#186A5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186A5F
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186A5F#FFFFFF#000000##FFFFFF
##186A5F1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65635F
Deuteranopia (green-blind)
#5A5B60
Tritanopia (blue-blind)
#006C67
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #186a5f;
/* rgb */ color: rgb(24, 106, 95);
/* oklch */ color: oklch(47.4% 0.077 181.8);
Tailwind
colors: {
  custom: {
    50: '#64958c',
    500: '#186a5f',
    950: '#000000',
  },
}
SCSS
$custom: #186a5f;
$custom-light: #64958c;
$custom-dark: #000000;
JSON
{
  "hex": "#186a5f",
  "rgb": {
    "r": 24,
    "g": 106,
    "b": 95
  },
  "hsl": {
    "h": 171.951,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47419,
    "c": 0.07738,
    "h": 181.8
  },
  "luminance": 0.11328
}

Semantic roles & 50–950 ramp

primary
#186A5F
secondary
#A03E4B
accent
#4258E6
background
#F6F9F8
surface
#EBF1F0
border
#C6CBCB
text
#060D0C
muted
#7A7E7D

Preview Lab

Preview with #186A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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