#186A20#186A20

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

Color values

HEX#186A20
RGBrgb(24, 106, 32)
HSLhsl(126, 63%, 25%)
HSVhsv(126, 77%, 42%)
CMYKcmyk(77.4%, 0%, 69.8%, 58.4%)
CIE-LABlab(38.91, -39.93, 33.55)
CIE-LCHlch(38.91, 52.15, 139.96°)
OKLaboklab(46.02% -0.108 0.0776)
OKLCHoklch(46.02% 0.133 144.3)
XYZxyz(5.7911, 10.6059, 3.1082)
Luminance0.1061 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186A20 #6A1862
analogous
#396A18 #186A20 #186A49
triadic
#186A20 #20186A #6A2018
tetradic
#186A20 #18396A #6A1862 #6A4918
square
#186A20 #18396A #6A1862 #6A4918
split-complementary
#186A20 #49186A #6A1839
monochromatic
#061908 #0D3811 #186A20 #239C2F #2FCE3E

Accessibility & contrast

On white

6.73
#186A20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #186A20
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186A20#FFFFFF#000000##FFFFFF
##186A201.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #186a20;
/* rgb */ color: rgb(24, 106, 32);
/* oklch */ color: oklch(46.0% 0.133 144.3);
Tailwind
colors: {
  custom: {
    50: '#64955f',
    500: '#186a20',
    950: '#000000',
  },
}
SCSS
$custom: #186a20;
$custom-light: #64955f;
$custom-dark: #000000;
JSON
{
  "hex": "#186a20",
  "rgb": {
    "r": 24,
    "g": 106,
    "b": 32
  },
  "hsl": {
    "h": 125.854,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46017,
    "c": 0.13295,
    "h": 144.3
  },
  "luminance": 0.10607
}

Semantic roles & 50–950 ramp

primary
#186A20
secondary
#A03E96
accent
#42D6E6
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #186A20

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

Preview Lab → · Contrast checker → · Palette generator →

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