#186A16#186A16

#186A16 is a mid, vivid green. Relative luminance 0.106; OKLCH L 45.9% C 0.140 H 142.6°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#186A16
RGBrgb(24, 106, 22)
HSLhsl(119, 66%, 25%)
HSVhsv(119, 79%, 42%)
CMYKcmyk(77.4%, 0%, 79.2%, 58.4%)
CIE-LABlab(38.83, -40.90, 37.70)
CIE-LCHlch(38.83, 55.63, 137.33°)
OKLaboklab(45.93% -0.1111 0.0849)
OKLCHoklch(45.93% 0.14 142.6)
XYZxyz(5.6752, 10.5595, 2.4980)
Luminance0.1056 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186A16 #68166A
analogous
#426A16 #186A16 #166A3E
triadic
#186A16 #16186A #6A1618
tetradic
#186A16 #16426A #68166A #6A3E16
square
#186A16 #16426A #68166A #6A3E16
split-complementary
#186A16 #3E166A #6A1642
monochromatic
#061905 #0D370B #186A16 #239D21 #2FCF2B

Accessibility & contrast

On white

6.75
#186A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#186A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186A16
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186A16#FFFFFF#000000##FFFFFF
##186A161.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F05
Deuteranopia (green-blind)
#63591F
Tritanopia (blue-blind)
#00675A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #186a16;
/* rgb */ color: rgb(24, 106, 22);
/* oklch */ color: oklch(45.9% 0.140 142.6);
Tailwind
colors: {
  custom: {
    50: '#64965a',
    500: '#186a16',
    950: '#000000',
  },
}
SCSS
$custom: #186a16;
$custom-light: #64965a;
$custom-dark: #000000;
JSON
{
  "hex": "#186a16",
  "rgb": {
    "r": 24,
    "g": 106,
    "b": 22
  },
  "hsl": {
    "h": 118.571,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45925,
    "c": 0.13988,
    "h": 142.6
  },
  "luminance": 0.1056
}

Semantic roles & 50–950 ramp

primary
#186A16
secondary
#9E3BA0
accent
#3FE9E5
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #186A16

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

Preview Lab → · Contrast checker → · Palette generator →

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