#186D17#186D17

#186D17 is a mid, vivid green. Relative luminance 0.112; OKLCH L 46.8% C 0.143 H 142.7°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#186D17
RGBrgb(24, 109, 23)
HSLhsl(119, 65%, 26%)
HSVhsv(119, 79%, 43%)
CMYKcmyk(78%, 0%, 78.9%, 57.3%)
CIE-LABlab(39.90, -41.88, 38.39)
CIE-LCHlch(39.90, 56.81, 137.49°)
OKLaboklab(46.82% -0.1137 0.0865)
OKLCHoklch(46.82% 0.143 142.7)
XYZxyz(5.9996, 11.1926, 2.6546)
Luminance0.1119 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186D17 #6C176D
analogous
#436D17 #186D17 #176D41
triadic
#186D17 #17186D #6D1718
tetradic
#186D17 #17436D #6C176D #6D4117
square
#186D17 #17436D #6C176D #6D4117
split-complementary
#186D17 #41176D #6D1743
monochromatic
#061905 #0D3A0C #186D17 #23A022 #2ED22C

Accessibility & contrast

On white

6.48
#186D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#186D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186D17
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186D17#FFFFFF#000000##FFFFFF
##186D171.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706205
Deuteranopia (green-blind)
#665B20
Tritanopia (blue-blind)
#006A5D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #186d17;
/* rgb */ color: rgb(24, 109, 23);
/* oklch */ color: oklch(46.8% 0.143 142.7);
Tailwind
colors: {
  custom: {
    50: '#65985b',
    500: '#186d17',
    950: '#000000',
  },
}
SCSS
$custom: #186d17;
$custom-light: #65985b;
$custom-dark: #000000;
JSON
{
  "hex": "#186d17",
  "rgb": {
    "r": 24,
    "g": 109,
    "b": 23
  },
  "hsl": {
    "h": 119.302,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.46819,
    "c": 0.1429,
    "h": 142.7
  },
  "luminance": 0.11193
}

Semantic roles & 50–950 ramp

primary
#186D17
secondary
#A23DA3
accent
#40E8E6
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #186D17

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

Preview Lab → · Contrast checker → · Palette generator →

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