#186C1B#186C1B

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

Color values

HEX#186C1B
RGBrgb(24, 108, 27)
HSLhsl(122, 64%, 26%)
HSVhsv(122, 78%, 42%)
CMYKcmyk(77.8%, 0%, 75%, 57.6%)
CIE-LABlab(39.58, -41.17, 36.46)
CIE-LCHlch(39.58, 55.00, 138.47°)
OKLaboklab(46.56% -0.1116 0.0831)
OKLCHoklch(46.56% 0.139 143.3)
XYZxyz(5.9367, 10.9978, 2.8466)
Luminance0.1100 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186C1B #6C1869
analogous
#3F6C18 #186C1B #186C45
triadic
#186C1B #1B186C #6C1B18
tetradic
#186C1B #183F6C #6C1869 #6C4518
square
#186C1B #183F6C #6C1869 #6C4518
split-complementary
#186C1B #45186C #6C183F
monochromatic
#061906 #0D3A0E #186C1B #239E28 #2ED034

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##186C1B#FFFFFF#000000##FFFFFF
##186C1B1.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)
#6E610E
Deuteranopia (green-blind)
#655B23
Tritanopia (blue-blind)
#00695C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #186c1b;
/* rgb */ color: rgb(24, 108, 27);
/* oklch */ color: oklch(46.6% 0.139 143.3);
Tailwind
colors: {
  custom: {
    50: '#64975d',
    500: '#186c1b',
    950: '#000000',
  },
}
SCSS
$custom: #186c1b;
$custom-light: #64975d;
$custom-dark: #000000;
JSON
{
  "hex": "#186c1b",
  "rgb": {
    "r": 24,
    "g": 108,
    "b": 27
  },
  "hsl": {
    "h": 122.143,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.46558,
    "c": 0.13912,
    "h": 143.3
  },
  "luminance": 0.10998
}

Semantic roles & 50–950 ramp

primary
#186C1B
secondary
#A23E9E
accent
#41E1E7
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #186C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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