#186A1C#186A1C

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

Color values

HEX#186A1C
RGBrgb(24, 106, 28)
HSLhsl(123, 63%, 25%)
HSVhsv(123, 77%, 42%)
CMYKcmyk(77.4%, 0%, 73.6%, 58.4%)
CIE-LABlab(38.87, -40.35, 35.30)
CIE-LCHlch(38.87, 53.62, 138.82°)
OKLaboklab(45.98% -0.1093 0.0808)
OKLCHoklch(45.98% 0.136 143.5)
XYZxyz(5.7400, 10.5854, 2.8391)
Luminance0.1059 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186A1C #6A1866
analogous
#3D6A18 #186A1C #186A45
triadic
#186A1C #1C186A #6A1C18
tetradic
#186A1C #183D6A #6A1866 #6A4518
square
#186A1C #183D6A #6A1866 #6A4518
split-complementary
#186A1C #45186A #6A183D
monochromatic
#061907 #0D380F #186A1C #239C29 #2FCE36

Accessibility & contrast

On white

6.74
#186A1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #186A1C
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186A1C#FFFFFF#000000##FFFFFF
##186A1C1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #186a1c;
/* rgb */ color: rgb(24, 106, 28);
/* oklch */ color: oklch(46.0% 0.136 143.5);
Tailwind
colors: {
  custom: {
    50: '#64955d',
    500: '#186a1c',
    950: '#000000',
  },
}
SCSS
$custom: #186a1c;
$custom-light: #64955d;
$custom-dark: #000000;
JSON
{
  "hex": "#186a1c",
  "rgb": {
    "r": 24,
    "g": 106,
    "b": 28
  },
  "hsl": {
    "h": 122.927,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.45976,
    "c": 0.13593,
    "h": 143.5
  },
  "luminance": 0.10586
}

Semantic roles & 50–950 ramp

primary
#186A1C
secondary
#A03E9B
accent
#42DEE6
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #186A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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