#186C2D#186C2D

#186C2D is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.8% C 0.124 H 147.4°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#186C2D
RGBrgb(24, 108, 45)
HSLhsl(135, 64%, 26%)
HSVhsv(135, 78%, 42%)
CMYKcmyk(77.8%, 0%, 58.3%, 57.6%)
CIE-LABlab(39.76, -38.95, 28.04)
CIE-LCHlch(39.76, 47.99, 144.25°)
OKLaboklab(46.77% -0.1048 0.067)
OKLCHoklch(46.77% 0.124 147.4)
XYZxyz(6.2124, 11.1081, 4.2988)
Luminance0.1111 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186C2D #6C1857
analogous
#2D6C18 #186C2D #186C57
triadic
#186C2D #2D186C #6C2D18
tetradic
#186C2D #182D6C #6C1857 #6C5718
square
#186C2D #182D6C #6C1857 #6C5718
split-complementary
#186C2D #57186C #6C182D
monochromatic
#06190A #0D3A18 #186C2D #239E42 #2ED057

Accessibility & contrast

On white

6.52
#186C2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#186C2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186C2D
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186C2D#FFFFFF#000000##FFFFFF
##186C2D1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6227
Deuteranopia (green-blind)
#645B32
Tritanopia (blue-blind)
#006A5E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #186c2d;
/* rgb */ color: rgb(24, 108, 45);
/* oklch */ color: oklch(46.8% 0.124 147.4);
Tailwind
colors: {
  custom: {
    50: '#639768',
    500: '#186c2d',
    950: '#000000',
  },
}
SCSS
$custom: #186c2d;
$custom-light: #639768;
$custom-dark: #000000;
JSON
{
  "hex": "#186c2d",
  "rgb": {
    "r": 24,
    "g": 108,
    "b": 45
  },
  "hsl": {
    "h": 135,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.46771,
    "c": 0.12439,
    "h": 147.4
  },
  "luminance": 0.11109
}

Semantic roles & 50–950 ramp

primary
#186C2D
secondary
#A23E89
accent
#41BDE7
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #186C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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