#186C40#186C40

#186C40 is a mid, moderate green. Relative luminance 0.113; OKLCH L 47.1% C 0.106 H 155.1°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#186C40
RGBrgb(24, 108, 64)
HSLhsl(149, 64%, 26%)
HSVhsv(149, 78%, 42%)
CMYKcmyk(77.8%, 0%, 40.7%, 57.6%)
CIE-LABlab(40.06, -35.47, 17.79)
CIE-LCHlch(40.06, 39.69, 153.37°)
OKLaboklab(47.12% -0.0957 0.0444)
OKLCHoklch(47.12% 0.106 155.1)
XYZxyz(6.6640, 11.2887, 6.6772)
Luminance0.1129 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186C40 #6C1844
analogous
#1A6C18 #186C40 #186C6A
triadic
#186C40 #40186C #6C4018
tetradic
#186C40 #181A6C #6C1844 #6C6A18
square
#186C40 #181A6C #6C1844 #6C6A18
split-complementary
#186C40 #6A186C #6C181A
monochromatic
#06190F #0D3A22 #186C40 #239E5E #2ED07B

Accessibility & contrast

On white

6.45
#186C40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#186C40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186C40
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186C40#FFFFFF#000000##FFFFFF
##186C401.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C633D
Deuteranopia (green-blind)
#615C43
Tritanopia (blue-blind)
#006B61
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #186c40;
/* rgb */ color: rgb(24, 108, 64);
/* oklch */ color: oklch(47.1% 0.106 155.1);
Tailwind
colors: {
  custom: {
    50: '#639775',
    500: '#186c40',
    950: '#000000',
  },
}
SCSS
$custom: #186c40;
$custom-light: #639775;
$custom-dark: #000000;
JSON
{
  "hex": "#186c40",
  "rgb": {
    "r": 24,
    "g": 108,
    "b": 64
  },
  "hsl": {
    "h": 148.571,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.47117,
    "c": 0.10553,
    "h": 155.1
  },
  "luminance": 0.11289
}

Semantic roles & 50–950 ramp

primary
#186C40
secondary
#A23E72
accent
#4198E7
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #186C40

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

Preview Lab → · Contrast checker → · Palette generator →

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