#186512#186512

#186512 is a dark, vivid green. Relative luminance 0.095; OKLCH L 44.4% C 0.136 H 142.1°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#186512
RGBrgb(24, 101, 18)
HSLhsl(116, 70%, 23%)
HSVhsv(116, 82%, 40%)
CMYKcmyk(76.2%, 0%, 82.2%, 60.4%)
CIE-LABlab(37.01, -39.43, 37.40)
CIE-LCHlch(37.01, 54.34, 136.52°)
OKLaboklab(44.41% -0.1074 0.0837)
OKLCHoklch(44.41% 0.136 142.1)
XYZxyz(5.1393, 9.5447, 2.1436)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186512 #5F1265
analogous
#416512 #186512 #126535
triadic
#186512 #121865 #651218
tetradic
#186512 #124165 #5F1265 #653512
square
#186512 #124165 #5F1265 #653512
split-complementary
#186512 #351265 #651241
monochromatic
#061A05 #0C3109 #186512 #24991B #31CD25

Accessibility & contrast

On white

7.22
#186512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#186512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #186512
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186512#FFFFFF#000000##FFFFFF
##1865121.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#5F551C
Tritanopia (blue-blind)
#016255
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #186512;
/* rgb */ color: rgb(24, 101, 18);
/* oklch */ color: oklch(44.4% 0.136 142.1);
Tailwind
colors: {
  custom: {
    50: '#639257',
    500: '#186512',
    950: '#000000',
  },
}
SCSS
$custom: #186512;
$custom-light: #639257;
$custom-dark: #000000;
JSON
{
  "hex": "#186512",
  "rgb": {
    "r": 24,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 115.663,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44408,
    "c": 0.13613,
    "h": 142.1
  },
  "luminance": 0.09545
}

Semantic roles & 50–950 ramp

primary
#186512
secondary
#95369D
accent
#3BEDE0
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D03
muted
#7A7E78

Preview Lab

Preview with #186512

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

Preview Lab → · Contrast checker → · Palette generator →

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