#186A22#186A22

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

Color values

HEX#186A22
RGBrgb(24, 106, 34)
HSLhsl(127, 63%, 25%)
HSVhsv(127, 77%, 42%)
CMYKcmyk(77.4%, 0%, 67.9%, 58.4%)
CIE-LABlab(38.93, -39.69, 32.63)
CIE-LCHlch(38.93, 51.38, 140.58°)
OKLaboklab(46.04% -0.1072 0.0759)
OKLCHoklch(46.04% 0.131 144.7)
XYZxyz(5.8191, 10.6171, 3.2557)
Luminance0.1062 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186A22 #6A1860
analogous
#376A18 #186A22 #186A4B
triadic
#186A22 #22186A #6A2218
tetradic
#186A22 #18376A #6A1860 #6A4B18
square
#186A22 #18376A #6A1860 #6A4B18
split-complementary
#186A22 #4B186A #6A1837
monochromatic
#061908 #0D3812 #186A22 #239C32 #2FCE42

Accessibility & contrast

On white

6.72
#186A22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #186A22
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186A22#FFFFFF#000000##FFFFFF
##186A221.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6019
Deuteranopia (green-blind)
#635928
Tritanopia (blue-blind)
#00675B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #186a22;
/* rgb */ color: rgb(24, 106, 34);
/* oklch */ color: oklch(46.0% 0.131 144.7);
Tailwind
colors: {
  custom: {
    50: '#639560',
    500: '#186a22',
    950: '#000000',
  },
}
SCSS
$custom: #186a22;
$custom-light: #639560;
$custom-dark: #000000;
JSON
{
  "hex": "#186a22",
  "rgb": {
    "r": 24,
    "g": 106,
    "b": 34
  },
  "hsl": {
    "h": 127.317,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46039,
    "c": 0.13137,
    "h": 144.7
  },
  "luminance": 0.10618
}

Semantic roles & 50–950 ramp

primary
#186A22
secondary
#A03E94
accent
#42D2E6
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #186A22

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

Preview Lab → · Contrast checker → · Palette generator →

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