#186A18#186A18

#186A18 is a mid, vivid green. Relative luminance 0.106; OKLCH L 45.9% C 0.139 H 142.9°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#186A18
RGBrgb(24, 106, 24)
HSLhsl(120, 63%, 25%)
HSVhsv(120, 77%, 42%)
CMYKcmyk(77.4%, 0%, 77.4%, 58.4%)
CIE-LABlab(38.84, -40.73, 36.94)
CIE-LCHlch(38.84, 54.99, 137.80°)
OKLaboklab(45.94% -0.1106 0.0836)
OKLCHoklch(45.94% 0.139 142.9)
XYZxyz(5.6952, 10.5676, 2.6036)
Luminance0.1057 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186A18 #6A186A
analogous
#416A18 #186A18 #186A41
triadic
#186A18 #18186A #6A1818
tetradic
#186A18 #18416A #6A186A #6A4118
square
#186A18 #18416A #6A186A #6A4118
split-complementary
#186A18 #41186A #6A1841
monochromatic
#061906 #0D380D #186A18 #239C23 #2FCE2F

Accessibility & contrast

On white

6.74
#186A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#186A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186A18
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186A18#FFFFFF#000000##FFFFFF
##186A181.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F09
Deuteranopia (green-blind)
#635921
Tritanopia (blue-blind)
#00675A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #186a18;
/* rgb */ color: rgb(24, 106, 24);
/* oklch */ color: oklch(45.9% 0.139 142.9);
Tailwind
colors: {
  custom: {
    50: '#64965b',
    500: '#186a18',
    950: '#000000',
  },
}
SCSS
$custom: #186a18;
$custom-light: #64965b;
$custom-dark: #000000;
JSON
{
  "hex": "#186a18",
  "rgb": {
    "r": 24,
    "g": 106,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.45941,
    "c": 0.13864,
    "h": 142.9
  },
  "luminance": 0.10568
}

Semantic roles & 50–950 ramp

primary
#186A18
secondary
#A03EA0
accent
#42E6E6
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #186A18

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

Preview Lab → · Contrast checker → · Palette generator →

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