#186D2C#186D2C

#186D2C is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.0% C 0.127 H 147.0°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#186D2C
RGBrgb(24, 109, 44)
HSLhsl(134, 64%, 26%)
HSVhsv(134, 78%, 43%)
CMYKcmyk(78%, 0%, 59.6%, 57.3%)
CIE-LABlab(40.10, -39.47, 28.97)
CIE-LCHlch(40.10, 48.96, 143.72°)
OKLaboklab(47.05% -0.1063 0.0689)
OKLCHoklch(47.05% 0.127 147)
XYZxyz(6.2995, 11.3126, 4.2339)
Luminance0.1131 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186D2C #6D1859
analogous
#2E6D18 #186D2C #186D56
triadic
#186D2C #2C186D #6D2C18
tetradic
#186D2C #182E6D #6D1859 #6D5618
square
#186D2C #182E6D #6D1859 #6D5618
split-complementary
#186D2C #56186D #6D182E
monochromatic
#06190A #0D3B18 #186D2C #239F40 #2ED155

Accessibility & contrast

On white

6.44
#186D2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #186D2C
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186D2C#FFFFFF#000000##FFFFFF
##186D2C1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6326
Deuteranopia (green-blind)
#655C31
Tritanopia (blue-blind)
#006A5F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #186d2c;
/* rgb */ color: rgb(24, 109, 44);
/* oklch */ color: oklch(47.0% 0.127 147.0);
Tailwind
colors: {
  custom: {
    50: '#649867',
    500: '#186d2c',
    950: '#000000',
  },
}
SCSS
$custom: #186d2c;
$custom-light: #649867;
$custom-dark: #000000;
JSON
{
  "hex": "#186d2c",
  "rgb": {
    "r": 24,
    "g": 109,
    "b": 44
  },
  "hsl": {
    "h": 134.118,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47048,
    "c": 0.12668,
    "h": 147
  },
  "luminance": 0.11313
}

Semantic roles & 50–950 ramp

primary
#186D2C
secondary
#A33E8B
accent
#41C0E7
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #186D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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