#186A17#186A17

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

Color values

HEX#186A17
RGBrgb(24, 106, 23)
HSLhsl(119, 64%, 25%)
HSVhsv(119, 78%, 42%)
CMYKcmyk(77.4%, 0%, 78.3%, 58.4%)
CIE-LABlab(38.84, -40.82, 37.32)
CIE-LCHlch(38.84, 55.31, 137.56°)
OKLaboklab(45.93% -0.1109 0.0843)
OKLCHoklch(45.93% 0.139 142.8)
XYZxyz(5.6850, 10.5635, 2.5498)
Luminance0.1056 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186A17 #69176A
analogous
#416A17 #186A17 #176A3F
triadic
#186A17 #17186A #6A1718
tetradic
#186A17 #17416A #69176A #6A3F17
square
#186A17 #17416A #69176A #6A3F17
split-complementary
#186A17 #3F176A #6A1741
monochromatic
#061905 #0D380C #186A17 #239C22 #2FCF2D

Accessibility & contrast

On white

6.75
#186A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #186A17
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186A17#FFFFFF#000000##FFFFFF
##186A171.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #186a17;
/* rgb */ color: rgb(24, 106, 23);
/* oklch */ color: oklch(45.9% 0.139 142.8);
Tailwind
colors: {
  custom: {
    50: '#64965a',
    500: '#186a17',
    950: '#000000',
  },
}
SCSS
$custom: #186a17;
$custom-light: #64965a;
$custom-dark: #000000;
JSON
{
  "hex": "#186a17",
  "rgb": {
    "r": 24,
    "g": 106,
    "b": 23
  },
  "hsl": {
    "h": 119.277,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.45932,
    "c": 0.13927,
    "h": 142.8
  },
  "luminance": 0.10564
}

Semantic roles & 50–950 ramp

primary
#186A17
secondary
#9F3DA0
accent
#40E7E5
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #186A17

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

Preview Lab → · Contrast checker → · Palette generator →

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