#186318#186318

#186318 is a dark, vivid green. Relative luminance 0.092; OKLCH L 43.9% C 0.130 H 143.0°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#186318
RGBrgb(24, 99, 24)
HSLhsl(120, 61%, 24%)
HSVhsv(120, 76%, 39%)
CMYKcmyk(75.8%, 0%, 75.8%, 61.2%)
CIE-LABlab(36.33, -38.20, 34.37)
CIE-LCHlch(36.33, 51.38, 138.02°)
OKLaboklab(43.86% -0.1037 0.0783)
OKLCHoklch(43.86% 0.13 143)
XYZxyz(5.0031, 9.1833, 2.3729)
Luminance0.0918 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186318 #631863
analogous
#3E6318 #186318 #18633E
triadic
#186318 #181863 #631818
tetradic
#186318 #183E63 #631863 #633E18
square
#186318 #183E63 #631863 #633E18
split-complementary
#186318 #3E1863 #63183E
monochromatic
#061906 #0C320C #186318 #249424 #30C630

Accessibility & contrast

On white

7.40
#186318 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#186318 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #186318
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186318#FFFFFF#000000##FFFFFF
##1863181.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65590C
Deuteranopia (green-blind)
#5D5320
Tritanopia (blue-blind)
#016054
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #186318;
/* rgb */ color: rgb(24, 99, 24);
/* oklch */ color: oklch(43.9% 0.130 143.0);
Tailwind
colors: {
  custom: {
    50: '#62905a',
    500: '#186318',
    950: '#000000',
  },
}
SCSS
$custom: #186318;
$custom-light: #62905a;
$custom-dark: #000000;
JSON
{
  "hex": "#186318",
  "rgb": {
    "r": 24,
    "g": 99,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.43859,
    "c": 0.12991,
    "h": 143
  },
  "luminance": 0.09184
}

Semantic roles & 50–950 ramp

primary
#186318
secondary
#993E99
accent
#44E4E4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060D04
muted
#7A7D79

Preview Lab

Preview with #186318

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

Preview Lab → · Contrast checker → · Palette generator →

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