#186A1D#186A1D

#186A1D is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.0% C 0.135 H 143.7°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#186A1D
RGBrgb(24, 106, 29)
HSLhsl(124, 63%, 25%)
HSVhsv(124, 77%, 42%)
CMYKcmyk(77.4%, 0%, 72.6%, 58.4%)
CIE-LABlab(38.88, -40.25, 34.87)
CIE-LCHlch(38.88, 53.26, 139.10°)
OKLaboklab(45.99% -0.109 0.08)
OKLCHoklch(45.99% 0.135 143.7)
XYZxyz(5.7521, 10.5903, 2.9031)
Luminance0.1059 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186A1D #6A1865
analogous
#3C6A18 #186A1D #186A46
triadic
#186A1D #1D186A #6A1D18
tetradic
#186A1D #183C6A #6A1865 #6A4618
square
#186A1D #183C6A #6A1865 #6A4618
split-complementary
#186A1D #46186A #6A183C
monochromatic
#061907 #0D380F #186A1D #239C2B #2FCE38

Accessibility & contrast

On white

6.73
#186A1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#186A1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186A1D
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186A1D#FFFFFF#000000##FFFFFF
##186A1D1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F12
Deuteranopia (green-blind)
#635924
Tritanopia (blue-blind)
#00675A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #186a1d;
/* rgb */ color: rgb(24, 106, 29);
/* oklch */ color: oklch(46.0% 0.135 143.7);
Tailwind
colors: {
  custom: {
    50: '#64955d',
    500: '#186a1d',
    950: '#000000',
  },
}
SCSS
$custom: #186a1d;
$custom-light: #64955d;
$custom-dark: #000000;
JSON
{
  "hex": "#186a1d",
  "rgb": {
    "r": 24,
    "g": 106,
    "b": 29
  },
  "hsl": {
    "h": 123.659,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.45986,
    "c": 0.13522,
    "h": 143.7
  },
  "luminance": 0.10591
}

Semantic roles & 50–950 ramp

primary
#186A1D
secondary
#A03E9A
accent
#42DCE6
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #186A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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