#186C1F#186C1F

#186C1F is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.6% C 0.136 H 144.0°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#186C1F
RGBrgb(24, 108, 31)
HSLhsl(125, 64%, 26%)
HSVhsv(125, 78%, 42%)
CMYKcmyk(77.8%, 0%, 71.3%, 57.6%)
CIE-LABlab(39.61, -40.77, 34.76)
CIE-LCHlch(39.61, 53.57, 139.54°)
OKLaboklab(46.6% -0.1103 0.08)
OKLCHoklch(46.6% 0.136 144)
XYZxyz(5.9862, 11.0176, 3.1072)
Luminance0.1102 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186C1F #6C1865
analogous
#3B6C18 #186C1F #186C49
triadic
#186C1F #1F186C #6C1F18
tetradic
#186C1F #183B6C #6C1865 #6C4918
square
#186C1F #183B6C #6C1865 #6C4918
split-complementary
#186C1F #49186C #6C183B
monochromatic
#061907 #0D3A11 #186C1F #239E2D #2ED03C

Accessibility & contrast

On white

6.56
#186C1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#186C1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186C1F
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186C1F#FFFFFF#000000##FFFFFF
##186C1F1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6114
Deuteranopia (green-blind)
#655B26
Tritanopia (blue-blind)
#00695C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #186c1f;
/* rgb */ color: rgb(24, 108, 31);
/* oklch */ color: oklch(46.6% 0.136 144.0);
Tailwind
colors: {
  custom: {
    50: '#64975f',
    500: '#186c1f',
    950: '#000000',
  },
}
SCSS
$custom: #186c1f;
$custom-light: #64975f;
$custom-dark: #000000;
JSON
{
  "hex": "#186c1f",
  "rgb": {
    "r": 24,
    "g": 108,
    "b": 31
  },
  "hsl": {
    "h": 125,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.46596,
    "c": 0.13627,
    "h": 144
  },
  "luminance": 0.11018
}

Semantic roles & 50–950 ramp

primary
#186C1F
secondary
#A23E99
accent
#41D9E7
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #186C1F

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

Preview Lab → · Contrast checker → · Palette generator →

#186C1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva