#186D22#186D22

#186D22 is a mid, vivid green. Relative luminance 0.112; OKLCH L 46.9% C 0.135 H 144.6°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#186D22
RGBrgb(24, 109, 34)
HSLhsl(127, 64%, 26%)
HSVhsv(127, 78%, 43%)
CMYKcmyk(78%, 0%, 68.8%, 57.3%)
CIE-LABlab(39.99, -40.79, 33.80)
CIE-LCHlch(39.99, 52.98, 140.35°)
OKLaboklab(46.92% -0.1102 0.0784)
OKLCHoklch(46.92% 0.135 144.6)
XYZxyz(6.1336, 11.2463, 3.3606)
Luminance0.1125 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186D22 #6D1863
analogous
#386D18 #186D22 #186D4C
triadic
#186D22 #22186D #6D2218
tetradic
#186D22 #18386D #6D1863 #6D4C18
square
#186D22 #18386D #6D1863 #6D4C18
split-complementary
#186D22 #4C186D #6D1838
monochromatic
#061908 #0D3B12 #186D22 #239F32 #2ED141

Accessibility & contrast

On white

6.46
#186D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#186D22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186D22
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186D22#FFFFFF#000000##FFFFFF
##186D221.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6219
Deuteranopia (green-blind)
#655C29
Tritanopia (blue-blind)
#006A5D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #186d22;
/* rgb */ color: rgb(24, 109, 34);
/* oklch */ color: oklch(46.9% 0.135 144.6);
Tailwind
colors: {
  custom: {
    50: '#649861',
    500: '#186d22',
    950: '#000000',
  },
}
SCSS
$custom: #186d22;
$custom-light: #649861;
$custom-dark: #000000;
JSON
{
  "hex": "#186d22",
  "rgb": {
    "r": 24,
    "g": 109,
    "b": 34
  },
  "hsl": {
    "h": 127.059,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.46922,
    "c": 0.13524,
    "h": 144.6
  },
  "luminance": 0.11247
}

Semantic roles & 50–950 ramp

primary
#186D22
secondary
#A33E97
accent
#41D3E7
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #186D22

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

Preview Lab → · Contrast checker → · Palette generator →

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