#186A42#186A42

#186A42 is a mid, moderate teal. Relative luminance 0.109; OKLCH L 46.6% C 0.101 H 156.9°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#186A42
RGBrgb(24, 106, 66)
HSLhsl(151, 63%, 25%)
HSVhsv(151, 77%, 42%)
CMYKcmyk(77.4%, 0%, 37.7%, 58.4%)
CIE-LABlab(39.40, -34.19, 15.74)
CIE-LCHlch(39.40, 37.64, 155.29°)
OKLaboklab(46.59% -0.0925 0.0395)
OKLCHoklch(46.59% 0.101 156.9)
XYZxyz(6.5135, 10.8948, 6.9128)
Luminance0.1090 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186A42 #6A1840
analogous
#186A19 #186A42 #18696A
triadic
#186A42 #42186A #6A4218
tetradic
#186A42 #19186A #6A1840 #696A18
square
#186A42 #19186A #6A1840 #696A18
split-complementary
#186A42 #6A1869 #6A1918
monochromatic
#061910 #0D3823 #186A42 #239C61 #2FCE80

Accessibility & contrast

On white

6.61
#186A42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#186A42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186A42
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186A42#FFFFFF#000000##FFFFFF
##186A421.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69613F
Deuteranopia (green-blind)
#5F5A45
Tritanopia (blue-blind)
#006960
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #186a42;
/* rgb */ color: rgb(24, 106, 66);
/* oklch */ color: oklch(46.6% 0.101 156.9);
Tailwind
colors: {
  custom: {
    50: '#629576',
    500: '#186a42',
    950: '#000000',
  },
}
SCSS
$custom: #186a42;
$custom-light: #629576;
$custom-dark: #000000;
JSON
{
  "hex": "#186a42",
  "rgb": {
    "r": 24,
    "g": 106,
    "b": 66
  },
  "hsl": {
    "h": 150.732,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46586,
    "c": 0.10061,
    "h": 156.9
  },
  "luminance": 0.10896
}

Semantic roles & 50–950 ramp

primary
#186A42
secondary
#A03E6E
accent
#4292E6
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #186A42

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

Preview Lab → · Contrast checker → · Palette generator →

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