#186A19#186A19

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

Color values

HEX#186A19
RGBrgb(24, 106, 25)
HSLhsl(121, 63%, 25%)
HSVhsv(121, 77%, 42%)
CMYKcmyk(77.4%, 0%, 76.4%, 58.4%)
CIE-LABlab(38.85, -40.64, 36.54)
CIE-LCHlch(38.85, 54.65, 138.04°)
OKLaboklab(45.95% -0.1103 0.0829)
OKLCHoklch(45.95% 0.138 143.1)
XYZxyz(5.7058, 10.5718, 2.6594)
Luminance0.1057 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186A19 #6A1869
analogous
#406A18 #186A19 #186A42
triadic
#186A19 #19186A #6A1918
tetradic
#186A19 #18406A #6A1869 #6A4218
square
#186A19 #18406A #6A1869 #6A4218
split-complementary
#186A19 #42186A #6A1840
monochromatic
#061906 #0D380D #186A19 #239C25 #2FCE31

Accessibility & contrast

On white

6.74
#186A19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #186A19
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186A19#FFFFFF#000000##FFFFFF
##186A191.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F0B
Deuteranopia (green-blind)
#635921
Tritanopia (blue-blind)
#00675A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #186a19;
/* rgb */ color: rgb(24, 106, 25);
/* oklch */ color: oklch(45.9% 0.138 143.1);
Tailwind
colors: {
  custom: {
    50: '#64955b',
    500: '#186a19',
    950: '#000000',
  },
}
SCSS
$custom: #186a19;
$custom-light: #64955b;
$custom-dark: #000000;
JSON
{
  "hex": "#186a19",
  "rgb": {
    "r": 24,
    "g": 106,
    "b": 25
  },
  "hsl": {
    "h": 120.732,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.45949,
    "c": 0.13799,
    "h": 143.1
  },
  "luminance": 0.10572
}

Semantic roles & 50–950 ramp

primary
#186A19
secondary
#A03E9F
accent
#42E4E6
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #186A19

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

Preview Lab → · Contrast checker → · Palette generator →

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