#186012#186012

#186012 is a dark, vivid green. Relative luminance 0.086; OKLCH L 42.9% C 0.130 H 142.0°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#186012
RGBrgb(24, 96, 18)
HSLhsl(115, 68%, 22%)
HSVhsv(115, 81%, 38%)
CMYKcmyk(75%, 0%, 81.3%, 62.4%)
CIE-LABlab(35.21, -37.62, 35.64)
CIE-LCHlch(35.21, 51.82, 136.55°)
OKLaboklab(42.91% -0.1024 0.08)
OKLCHoklch(42.91% 0.13 142)
XYZxyz(4.6685, 8.6031, 1.9867)
Luminance0.0860 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186012 #5A1260
analogous
#3F6012 #186012 #126033
triadic
#186012 #121860 #601218
tetradic
#186012 #123F60 #5A1260 #603312
square
#186012 #123F60 #5A1260 #603312
split-complementary
#186012 #331260 #60123F
monochromatic
#061A05 #0B2C08 #186012 #25941C #32C725

Accessibility & contrast

On white

7.72
#186012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#186012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #186012
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186012#FFFFFF#000000##FFFFFF
##1860121.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625602
Deuteranopia (green-blind)
#5A511B
Tritanopia (blue-blind)
#055D51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #186012;
/* rgb */ color: rgb(24, 96, 18);
/* oklch */ color: oklch(42.9% 0.130 142.0);
Tailwind
colors: {
  custom: {
    50: '#628e56',
    500: '#186012',
    950: '#000000',
  },
}
SCSS
$custom: #186012;
$custom-light: #628e56;
$custom-dark: #000000;
JSON
{
  "hex": "#186012",
  "rgb": {
    "r": 24,
    "g": 96,
    "b": 18
  },
  "hsl": {
    "h": 115.385,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42911,
    "c": 0.13,
    "h": 142
  },
  "luminance": 0.08604
}

Semantic roles & 50–950 ramp

primary
#186012
secondary
#913698
accent
#3DEBDE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #186012

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

Preview Lab → · Contrast checker → · Palette generator →

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