#186C23#186C23

#186C23 is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.6% C 0.133 H 144.9°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#186C23
RGBrgb(24, 108, 35)
HSLhsl(128, 64%, 26%)
HSVhsv(128, 78%, 42%)
CMYKcmyk(77.8%, 0%, 67.6%, 57.6%)
CIE-LABlab(39.65, -40.31, 32.95)
CIE-LCHlch(39.65, 52.06, 140.74°)
OKLaboklab(46.64% -0.1089 0.0767)
OKLCHoklch(46.64% 0.133 144.9)
XYZxyz(6.0422, 11.0400, 3.4023)
Luminance0.1104 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186C23 #6C1861
analogous
#376C18 #186C23 #186C4D
triadic
#186C23 #23186C #6C2318
tetradic
#186C23 #18376C #6C1861 #6C4D18
square
#186C23 #18376C #6C1861 #6C4D18
split-complementary
#186C23 #4D186C #6C1837
monochromatic
#061908 #0D3A13 #186C23 #239E33 #2ED043

Accessibility & contrast

On white

6.55
#186C23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#186C23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186C23
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186C23#FFFFFF#000000##FFFFFF
##186C231.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E611A
Deuteranopia (green-blind)
#645B29
Tritanopia (blue-blind)
#00695D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #186c23;
/* rgb */ color: rgb(24, 108, 35);
/* oklch */ color: oklch(46.6% 0.133 144.9);
Tailwind
colors: {
  custom: {
    50: '#649761',
    500: '#186c23',
    950: '#000000',
  },
}
SCSS
$custom: #186c23;
$custom-light: #649761;
$custom-dark: #000000;
JSON
{
  "hex": "#186c23",
  "rgb": {
    "r": 24,
    "g": 108,
    "b": 35
  },
  "hsl": {
    "h": 127.857,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.46639,
    "c": 0.13315,
    "h": 144.9
  },
  "luminance": 0.11041
}

Semantic roles & 50–950 ramp

primary
#186C23
secondary
#A23E95
accent
#41D1E7
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #186C23

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

Preview Lab → · Contrast checker → · Palette generator →

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