#186412#186412

#186412 is a dark, vivid green. Relative luminance 0.094; OKLCH L 44.1% C 0.135 H 142.1°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#186412
RGBrgb(24, 100, 18)
HSLhsl(116, 69%, 23%)
HSVhsv(116, 82%, 39%)
CMYKcmyk(76%, 0%, 82%, 60.8%)
CIE-LABlab(36.65, -39.07, 37.05)
CIE-LCHlch(36.65, 53.84, 136.52°)
OKLaboklab(44.11% -0.1064 0.083)
OKLCHoklch(44.11% 0.135 142.1)
XYZxyz(5.0428, 9.3516, 2.1114)
Luminance0.0935 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186412 #5E1264
analogous
#416412 #186412 #126435
triadic
#186412 #121864 #641218
tetradic
#186412 #124164 #5E1264 #643512
square
#186412 #124164 #5E1264 #643512
split-complementary
#186412 #351264 #641241
monochromatic
#061A05 #0C3009 #186412 #24981B #31CC25

Accessibility & contrast

On white

7.32
#186412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#186412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #186412
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186412#FFFFFF#000000##FFFFFF
##1864121.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A01
Deuteranopia (green-blind)
#5E541B
Tritanopia (blue-blind)
#026155
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #186412;
/* rgb */ color: rgb(24, 100, 18);
/* oklch */ color: oklch(44.1% 0.135 142.1);
Tailwind
colors: {
  custom: {
    50: '#639157',
    500: '#186412',
    950: '#000000',
  },
}
SCSS
$custom: #186412;
$custom-light: #639157;
$custom-dark: #000000;
JSON
{
  "hex": "#186412",
  "rgb": {
    "r": 24,
    "g": 100,
    "b": 18
  },
  "hsl": {
    "h": 115.61,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.4411,
    "c": 0.13492,
    "h": 142.1
  },
  "luminance": 0.09352
}

Semantic roles & 50–950 ramp

primary
#186412
secondary
#94369C
accent
#3BECDF
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D03
muted
#7A7E78

Preview Lab

Preview with #186412

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

Preview Lab → · Contrast checker → · Palette generator →

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