#186A40#186A40

#186A40 is a mid, moderate green. Relative luminance 0.109; OKLCH L 46.5% C 0.103 H 155.7°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#186A40
RGBrgb(24, 106, 64)
HSLhsl(149, 63%, 25%)
HSVhsv(149, 77%, 42%)
CMYKcmyk(77.4%, 0%, 39.6%, 58.4%)
CIE-LABlab(39.36, -34.63, 16.86)
CIE-LCHlch(39.36, 38.52, 154.04°)
OKLaboklab(46.54% -0.0936 0.0422)
OKLCHoklch(46.54% 0.103 155.7)
XYZxyz(6.4555, 10.8717, 6.6077)
Luminance0.1087 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186A40 #6A1842
analogous
#196A18 #186A40 #186A69
triadic
#186A40 #40186A #6A4018
tetradic
#186A40 #18196A #6A1842 #6A6918
square
#186A40 #18196A #6A1842 #6A6918
split-complementary
#186A40 #69186A #6A1819
monochromatic
#06190F #0D3822 #186A40 #239C5E #2FCE7C

Accessibility & contrast

On white

6.62
#186A40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#186A40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186A40
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186A40#FFFFFF#000000##FFFFFF
##186A401.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69613D
Deuteranopia (green-blind)
#605A43
Tritanopia (blue-blind)
#00695F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #186a40;
/* rgb */ color: rgb(24, 106, 64);
/* oklch */ color: oklch(46.5% 0.103 155.7);
Tailwind
colors: {
  custom: {
    50: '#629575',
    500: '#186a40',
    950: '#000000',
  },
}
SCSS
$custom: #186a40;
$custom-light: #629575;
$custom-dark: #000000;
JSON
{
  "hex": "#186a40",
  "rgb": {
    "r": 24,
    "g": 106,
    "b": 64
  },
  "hsl": {
    "h": 149.268,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46541,
    "c": 0.10264,
    "h": 155.7
  },
  "luminance": 0.10872
}

Semantic roles & 50–950 ramp

primary
#186A40
secondary
#A03E70
accent
#4296E6
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #186A40

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

Preview Lab → · Contrast checker → · Palette generator →

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