#186B18#186B18

#186B18 is a mid, vivid green. Relative luminance 0.108; OKLCH L 46.2% C 0.140 H 142.9°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#186B18
RGBrgb(24, 107, 24)
HSLhsl(120, 63%, 26%)
HSVhsv(120, 78%, 42%)
CMYKcmyk(77.6%, 0%, 77.6%, 58%)
CIE-LABlab(39.20, -41.09, 37.30)
CIE-LCHlch(39.20, 55.49, 137.77°)
OKLaboklab(46.24% -0.1115 0.0844)
OKLCHoklch(46.24% 0.14 142.9)
XYZxyz(5.7989, 10.7749, 2.6381)
Luminance0.1078 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186B18 #6B186B
analogous
#416B18 #186B18 #186B41
triadic
#186B18 #18186B #6B1818
tetradic
#186B18 #18416B #6B186B #6B4118
square
#186B18 #18416B #6B186B #6B4118
split-complementary
#186B18 #41186B #6B1841
monochromatic
#061906 #0D390D #186B18 #239D23 #2ECF2E

Accessibility & contrast

On white

6.66
#186B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#186B18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186B18
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186B18#FFFFFF#000000##FFFFFF
##186B181.006.663.166.66
#FFFFFF6.661.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6008
Deuteranopia (green-blind)
#645A21
Tritanopia (blue-blind)
#00685B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #186b18;
/* rgb */ color: rgb(24, 107, 24);
/* oklch */ color: oklch(46.2% 0.140 142.9);
Tailwind
colors: {
  custom: {
    50: '#64965b',
    500: '#186b18',
    950: '#000000',
  },
}
SCSS
$custom: #186b18;
$custom-light: #64965b;
$custom-dark: #000000;
JSON
{
  "hex": "#186b18",
  "rgb": {
    "r": 24,
    "g": 107,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46236,
    "c": 0.13986,
    "h": 142.9
  },
  "luminance": 0.10776
}

Semantic roles & 50–950 ramp

primary
#186B18
secondary
#A13EA1
accent
#41E6E6
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #186B18

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

Preview Lab → · Contrast checker → · Palette generator →

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