#186F17#186F17

#186F17 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.4% C 0.145 H 142.7°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#186F17
RGBrgb(24, 111, 23)
HSLhsl(119, 66%, 26%)
HSVhsv(119, 79%, 44%)
CMYKcmyk(78.4%, 0%, 79.3%, 56.5%)
CIE-LABlab(40.61, -42.58, 39.09)
CIE-LCHlch(40.61, 57.80, 137.44°)
OKLaboklab(47.41% -0.1156 0.088)
OKLCHoklch(47.41% 0.145 142.7)
XYZxyz(6.2154, 11.6242, 2.7266)
Luminance0.1163 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186F17 #6E176F
analogous
#446F17 #186F17 #176F42
triadic
#186F17 #17186F #6F1718
tetradic
#186F17 #17446F #6E176F #6F4217
square
#186F17 #17446F #6E176F #6F4217
split-complementary
#186F17 #42176F #6F1744
monochromatic
#051905 #0D3C0C #186F17 #23A222 #2FD32D

Accessibility & contrast

On white

6.32
#186F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#186F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186F17
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186F17#FFFFFF#000000##FFFFFF
##186F171.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726404
Deuteranopia (green-blind)
#685D21
Tritanopia (blue-blind)
#006C5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #186f17;
/* rgb */ color: rgb(24, 111, 23);
/* oklch */ color: oklch(47.4% 0.145 142.7);
Tailwind
colors: {
  custom: {
    50: '#65995b',
    500: '#186f17',
    950: '#000000',
  },
}
SCSS
$custom: #186f17;
$custom-light: #65995b;
$custom-dark: #000000;
JSON
{
  "hex": "#186f17",
  "rgb": {
    "r": 24,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 119.318,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47409,
    "c": 0.1453,
    "h": 142.7
  },
  "luminance": 0.11625
}

Semantic roles & 50–950 ramp

primary
#186F17
secondary
#A43DA5
accent
#3FE9E7
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #186F17

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

Preview Lab → · Contrast checker → · Palette generator →

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