#186018#186018

#186018 is a dark, vivid green. Relative luminance 0.086; OKLCH L 43.0% C 0.126 H 143.0°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#186018
RGBrgb(24, 96, 24)
HSLhsl(120, 60%, 24%)
HSVhsv(120, 75%, 38%)
CMYKcmyk(75%, 0%, 75%, 62.4%)
CIE-LABlab(35.25, -37.08, 33.24)
CIE-LCHlch(35.25, 49.80, 138.13°)
OKLaboklab(42.96% -0.1007 0.0759)
OKLCHoklch(42.96% 0.126 143)
XYZxyz(4.7241, 8.6254, 2.2799)
Luminance0.0863 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186018 #601860
analogous
#3C6018 #186018 #18603C
triadic
#186018 #181860 #601818
tetradic
#186018 #183C60 #601860 #603C18
square
#186018 #183C60 #601860 #603C18
split-complementary
#186018 #3C1860 #60183C
monochromatic
#061806 #0C2F0C #186018 #249124 #30C230

Accessibility & contrast

On white

7.71
#186018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#186018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #186018
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186018#FFFFFF#000000##FFFFFF
##1860181.007.712.737.71
#FFFFFF7.711.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62560D
Deuteranopia (green-blind)
#5A511F
Tritanopia (blue-blind)
#035D52
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #186018;
/* rgb */ color: rgb(24, 96, 24);
/* oklch */ color: oklch(43.0% 0.126 143.0);
Tailwind
colors: {
  custom: {
    50: '#618e59',
    500: '#186018',
    950: '#000000',
  },
}
SCSS
$custom: #186018;
$custom-light: #618e59;
$custom-dark: #000000;
JSON
{
  "hex": "#186018",
  "rgb": {
    "r": 24,
    "g": 96,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.42962,
    "c": 0.12608,
    "h": 143
  },
  "luminance": 0.08626
}

Semantic roles & 50–950 ramp

primary
#186018
secondary
#963D96
accent
#45E3E3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #186018

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

Preview Lab → · Contrast checker → · Palette generator →

#186018 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva