#186D1F#186D1F

#186D1F is a mid, vivid green. Relative luminance 0.112; OKLCH L 46.9% C 0.138 H 144.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#186D1F
RGBrgb(24, 109, 31)
HSLhsl(125, 64%, 26%)
HSVhsv(125, 78%, 43%)
CMYKcmyk(78%, 0%, 71.6%, 57.3%)
CIE-LABlab(39.96, -41.13, 35.14)
CIE-LCHlch(39.96, 54.10, 139.49°)
OKLaboklab(46.89% -0.1113 0.0808)
OKLCHoklch(46.89% 0.138 144)
XYZxyz(6.0923, 11.2297, 3.1425)
Luminance0.1123 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186D1F #6D1866
analogous
#3B6D18 #186D1F #186D49
triadic
#186D1F #1F186D #6D1F18
tetradic
#186D1F #183B6D #6D1866 #6D4918
square
#186D1F #183B6D #6D1866 #6D4918
split-complementary
#186D1F #49186D #6D183B
monochromatic
#061907 #0D3B11 #186D1F #239F2D #2ED13C

Accessibility & contrast

On white

6.47
#186D1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#186D1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186D1F
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186D1F#FFFFFF#000000##FFFFFF
##186D1F1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6214
Deuteranopia (green-blind)
#665C26
Tritanopia (blue-blind)
#006A5D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #186d1f;
/* rgb */ color: rgb(24, 109, 31);
/* oklch */ color: oklch(46.9% 0.138 144.0);
Tailwind
colors: {
  custom: {
    50: '#64985f',
    500: '#186d1f',
    950: '#000000',
  },
}
SCSS
$custom: #186d1f;
$custom-light: #64985f;
$custom-dark: #000000;
JSON
{
  "hex": "#186d1f",
  "rgb": {
    "r": 24,
    "g": 109,
    "b": 31
  },
  "hsl": {
    "h": 124.941,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.4689,
    "c": 0.13753,
    "h": 144
  },
  "luminance": 0.1123
}

Semantic roles & 50–950 ramp

primary
#186D1F
secondary
#A33E9A
accent
#41D9E7
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #186D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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