#186A1A#186A1A

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

Color values

HEX#186A1A
RGBrgb(24, 106, 26)
HSLhsl(121, 63%, 25%)
HSVhsv(121, 77%, 42%)
CMYKcmyk(77.4%, 0%, 75.5%, 58.4%)
CIE-LABlab(38.86, -40.55, 36.14)
CIE-LCHlch(38.86, 54.32, 138.29°)
OKLaboklab(45.96% -0.11 0.0822)
OKLCHoklch(45.96% 0.137 143.2)
XYZxyz(5.7168, 10.5762, 2.7172)
Luminance0.1058 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186A1A #6A1868
analogous
#3F6A18 #186A1A #186A43
triadic
#186A1A #1A186A #6A1A18
tetradic
#186A1A #183F6A #6A1868 #6A4318
square
#186A1A #183F6A #6A1868 #6A4318
split-complementary
#186A1A #43186A #6A183F
monochromatic
#061906 #0D380E #186A1A #239C26 #2FCE32

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##186A1A#FFFFFF#000000##FFFFFF
##186A1A1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #186a1a;
/* rgb */ color: rgb(24, 106, 26);
/* oklch */ color: oklch(46.0% 0.137 143.2);
Tailwind
colors: {
  custom: {
    50: '#64955c',
    500: '#186a1a',
    950: '#000000',
  },
}
SCSS
$custom: #186a1a;
$custom-light: #64955c;
$custom-dark: #000000;
JSON
{
  "hex": "#186a1a",
  "rgb": {
    "r": 24,
    "g": 106,
    "b": 26
  },
  "hsl": {
    "h": 121.463,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.45958,
    "c": 0.13732,
    "h": 143.2
  },
  "luminance": 0.10577
}

Semantic roles & 50–950 ramp

primary
#186A1A
secondary
#A03E9D
accent
#42E2E6
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #186A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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