#186C17#186C17

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

Color values

HEX#186C17
RGBrgb(24, 108, 23)
HSLhsl(119, 65%, 26%)
HSVhsv(119, 79%, 42%)
CMYKcmyk(77.8%, 0%, 78.7%, 57.6%)
CIE-LABlab(39.55, -41.53, 38.04)
CIE-LCHlch(39.55, 56.32, 137.51°)
OKLaboklab(46.52% -0.1128 0.0858)
OKLCHoklch(46.52% 0.142 142.7)
XYZxyz(5.8935, 10.9805, 2.6193)
Luminance0.1098 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186C17 #6B176C
analogous
#426C17 #186C17 #176C40
triadic
#186C17 #17186C #6C1718
tetradic
#186C17 #17426C #6B176C #6C4017
square
#186C17 #17426C #6B176C #6C4017
split-complementary
#186C17 #40176C #6C1742
monochromatic
#061905 #0D3A0C #186C17 #239E22 #2ED12C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##186C17#FFFFFF#000000##FFFFFF
##186C171.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)
#6F6106
Deuteranopia (green-blind)
#655B20
Tritanopia (blue-blind)
#00695C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #186c17;
/* rgb */ color: rgb(24, 108, 23);
/* oklch */ color: oklch(46.5% 0.142 142.7);
Tailwind
colors: {
  custom: {
    50: '#65975b',
    500: '#186c17',
    950: '#000000',
  },
}
SCSS
$custom: #186c17;
$custom-light: #65975b;
$custom-dark: #000000;
JSON
{
  "hex": "#186c17",
  "rgb": {
    "r": 24,
    "g": 108,
    "b": 23
  },
  "hsl": {
    "h": 119.294,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46524,
    "c": 0.14169,
    "h": 142.7
  },
  "luminance": 0.10981
}

Semantic roles & 50–950 ramp

primary
#186C17
secondary
#A13DA2
accent
#40E8E6
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #186C17

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

Preview Lab → · Contrast checker → · Palette generator →

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