#186D2D#186D2D

#186D2D is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.1% C 0.126 H 147.3°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#186D2D
RGBrgb(24, 109, 45)
HSLhsl(135, 64%, 26%)
HSVhsv(135, 78%, 43%)
CMYKcmyk(78%, 0%, 58.7%, 57.3%)
CIE-LABlab(40.11, -39.33, 28.46)
CIE-LCHlch(40.11, 48.54, 144.10°)
OKLaboklab(47.06% -0.1058 0.0679)
OKLCHoklch(47.06% 0.126 147.3)
XYZxyz(6.3185, 11.3202, 4.3341)
Luminance0.1132 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186D2D #6D1858
analogous
#2D6D18 #186D2D #186D57
triadic
#186D2D #2D186D #6D2D18
tetradic
#186D2D #182D6D #6D1858 #6D5718
square
#186D2D #182D6D #6D1858 #6D5718
split-complementary
#186D2D #57186D #6D182D
monochromatic
#06190A #0D3B18 #186D2D #239F42 #2ED157

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##186D2D#FFFFFF#000000##FFFFFF
##186D2D1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6327
Deuteranopia (green-blind)
#655C32
Tritanopia (blue-blind)
#006A5F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #186d2d;
/* rgb */ color: rgb(24, 109, 45);
/* oklch */ color: oklch(47.1% 0.126 147.3);
Tailwind
colors: {
  custom: {
    50: '#649868',
    500: '#186d2d',
    950: '#000000',
  },
}
SCSS
$custom: #186d2d;
$custom-light: #649868;
$custom-dark: #000000;
JSON
{
  "hex": "#186d2d",
  "rgb": {
    "r": 24,
    "g": 109,
    "b": 45
  },
  "hsl": {
    "h": 134.824,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47063,
    "c": 0.12576,
    "h": 147.3
  },
  "luminance": 0.11321
}

Semantic roles & 50–950 ramp

primary
#186D2D
secondary
#A33E8A
accent
#41BEE7
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #186D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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