#186F18#186F18

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

Color values

HEX#186F18
RGBrgb(24, 111, 24)
HSLhsl(120, 64%, 26%)
HSVhsv(120, 78%, 44%)
CMYKcmyk(78.4%, 0%, 78.4%, 56.5%)
CIE-LABlab(40.62, -42.50, 38.72)
CIE-LCHlch(40.62, 57.49, 137.66°)
OKLaboklab(47.42% -0.1154 0.0874)
OKLCHoklch(47.42% 0.145 142.9)
XYZxyz(6.2256, 11.6283, 2.7804)
Luminance0.1163 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186F18 #6F186F
analogous
#446F18 #186F18 #186F44
triadic
#186F18 #18186F #6F1818
tetradic
#186F18 #18446F #6F186F #6F4418
square
#186F18 #18446F #6F186F #6F4418
split-complementary
#186F18 #44186F #6F1844
monochromatic
#051905 #0D3D0D #186F18 #23A123 #2FD22F

Accessibility & contrast

On white

6.31
#186F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #186F18
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186F18#FFFFFF#000000##FFFFFF
##186F181.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #186f18;
/* rgb */ color: rgb(24, 111, 24);
/* oklch */ color: oklch(47.4% 0.145 142.9);
Tailwind
colors: {
  custom: {
    50: '#65995b',
    500: '#186f18',
    950: '#000000',
  },
}
SCSS
$custom: #186f18;
$custom-light: #65995b;
$custom-dark: #000000;
JSON
{
  "hex": "#186f18",
  "rgb": {
    "r": 24,
    "g": 111,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47416,
    "c": 0.1447,
    "h": 142.9
  },
  "luminance": 0.11629
}

Semantic roles & 50–950 ramp

primary
#186F18
secondary
#A53EA5
accent
#40E7E7
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #186F18

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

Preview Lab → · Contrast checker → · Palette generator →

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