#186C18#186C18

#186C18 is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.5% C 0.141 H 142.9°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#186C18
RGBrgb(24, 108, 24)
HSLhsl(120, 64%, 26%)
HSVhsv(120, 78%, 42%)
CMYKcmyk(77.8%, 0%, 77.8%, 57.6%)
CIE-LABlab(39.55, -41.44, 37.66)
CIE-LCHlch(39.55, 56.00, 137.74°)
OKLaboklab(46.53% -0.1125 0.0851)
OKLCHoklch(46.53% 0.141 142.9)
XYZxyz(5.9038, 10.9846, 2.6731)
Luminance0.1099 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186C18 #6C186C
analogous
#426C18 #186C18 #186C42
triadic
#186C18 #18186C #6C1818
tetradic
#186C18 #18426C #6C186C #6C4218
square
#186C18 #18426C #6C186C #6C4218
split-complementary
#186C18 #42186C #6C1842
monochromatic
#061906 #0D3A0D #186C18 #239E23 #2ED02E

Accessibility & contrast

On white

6.57
#186C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#186C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186C18
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186C18#FFFFFF#000000##FFFFFF
##186C181.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6108
Deuteranopia (green-blind)
#655B21
Tritanopia (blue-blind)
#00695C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #186c18;
/* rgb */ color: rgb(24, 108, 24);
/* oklch */ color: oklch(46.5% 0.141 142.9);
Tailwind
colors: {
  custom: {
    50: '#65975b',
    500: '#186c18',
    950: '#000000',
  },
}
SCSS
$custom: #186c18;
$custom-light: #65975b;
$custom-dark: #000000;
JSON
{
  "hex": "#186c18",
  "rgb": {
    "r": 24,
    "g": 108,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.46532,
    "c": 0.14107,
    "h": 142.9
  },
  "luminance": 0.10985
}

Semantic roles & 50–950 ramp

primary
#186C18
secondary
#A23EA2
accent
#41E7E7
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #186C18

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

Preview Lab → · Contrast checker → · Palette generator →

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