#186C22#186C22

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

Color values

HEX#186C22
RGBrgb(24, 108, 34)
HSLhsl(127, 64%, 26%)
HSVhsv(127, 78%, 42%)
CMYKcmyk(77.8%, 0%, 68.5%, 57.6%)
CIE-LABlab(39.64, -40.43, 33.41)
CIE-LCHlch(39.64, 52.45, 140.43°)
OKLaboklab(46.63% -0.1092 0.0775)
OKLCHoklch(46.63% 0.134 144.6)
XYZxyz(6.0276, 11.0341, 3.3252)
Luminance0.1104 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186C22 #6C1862
analogous
#386C18 #186C22 #186C4C
triadic
#186C22 #22186C #6C2218
tetradic
#186C22 #18386C #6C1862 #6C4C18
square
#186C22 #18386C #6C1862 #6C4C18
split-complementary
#186C22 #4C186C #6C1838
monochromatic
#061908 #0D3A12 #186C22 #239E32 #2ED042

Accessibility & contrast

On white

6.55
#186C22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#186C22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186C22
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186C22#FFFFFF#000000##FFFFFF
##186C221.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6119
Deuteranopia (green-blind)
#645B29
Tritanopia (blue-blind)
#00695D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #186c22;
/* rgb */ color: rgb(24, 108, 34);
/* oklch */ color: oklch(46.6% 0.134 144.6);
Tailwind
colors: {
  custom: {
    50: '#649761',
    500: '#186c22',
    950: '#000000',
  },
}
SCSS
$custom: #186c22;
$custom-light: #649761;
$custom-dark: #000000;
JSON
{
  "hex": "#186c22",
  "rgb": {
    "r": 24,
    "g": 108,
    "b": 34
  },
  "hsl": {
    "h": 127.143,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.46628,
    "c": 0.13396,
    "h": 144.6
  },
  "luminance": 0.11035
}

Semantic roles & 50–950 ramp

primary
#186C22
secondary
#A23E96
accent
#41D3E7
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #186C22

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

Preview Lab → · Contrast checker → · Palette generator →

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