#186C1A#186C1A

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

Color values

HEX#186C1A
RGBrgb(24, 108, 26)
HSLhsl(121, 64%, 26%)
HSVhsv(121, 78%, 42%)
CMYKcmyk(77.8%, 0%, 75.9%, 57.6%)
CIE-LABlab(39.57, -41.27, 36.87)
CIE-LCHlch(39.57, 55.34, 138.22°)
OKLaboklab(46.55% -0.1119 0.0838)
OKLCHoklch(46.55% 0.14 143.2)
XYZxyz(5.9253, 10.9932, 2.7867)
Luminance0.1099 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186C1A #6C186A
analogous
#406C18 #186C1A #186C44
triadic
#186C1A #1A186C #6C1A18
tetradic
#186C1A #18406C #6C186A #6C4418
square
#186C1A #18406C #6C186A #6C4418
split-complementary
#186C1A #44186C #6C1840
monochromatic
#061906 #0D3A0E #186C1A #239E26 #2ED032

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #186c1a;
/* rgb */ color: rgb(24, 108, 26);
/* oklch */ color: oklch(46.5% 0.140 143.2);
Tailwind
colors: {
  custom: {
    50: '#64975c',
    500: '#186c1a',
    950: '#000000',
  },
}
SCSS
$custom: #186c1a;
$custom-light: #64975c;
$custom-dark: #000000;
JSON
{
  "hex": "#186c1a",
  "rgb": {
    "r": 24,
    "g": 108,
    "b": 26
  },
  "hsl": {
    "h": 121.429,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.46549,
    "c": 0.1398,
    "h": 143.2
  },
  "luminance": 0.10994
}

Semantic roles & 50–950 ramp

primary
#186C1A
secondary
#A23E9F
accent
#41E3E7
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #186C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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