#186B17#186B17

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

Color values

HEX#186B17
RGBrgb(24, 107, 23)
HSLhsl(119, 65%, 25%)
HSVhsv(119, 79%, 42%)
CMYKcmyk(77.6%, 0%, 78.5%, 58%)
CIE-LABlab(39.19, -41.17, 37.68)
CIE-LCHlch(39.19, 55.81, 137.54°)
OKLaboklab(46.23% -0.1118 0.085)
OKLCHoklch(46.23% 0.14 142.7)
XYZxyz(5.7887, 10.7708, 2.5843)
Luminance0.1077 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186B17 #6A176B
analogous
#426B17 #186B17 #176B40
triadic
#186B17 #17186B #6B1718
tetradic
#186B17 #17426B #6A176B #6B4017
square
#186B17 #17426B #6A176B #6B4017
split-complementary
#186B17 #40176B #6B1742
monochromatic
#061905 #0D390C #186B17 #239D22 #2FD02D

Accessibility & contrast

On white

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

On black

3.15
#186B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##186B17#FFFFFF#000000##FFFFFF
##186B171.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #186b17;
/* rgb */ color: rgb(24, 107, 23);
/* oklch */ color: oklch(46.2% 0.140 142.7);
Tailwind
colors: {
  custom: {
    50: '#64965a',
    500: '#186b17',
    950: '#000000',
  },
}
SCSS
$custom: #186b17;
$custom-light: #64965a;
$custom-dark: #000000;
JSON
{
  "hex": "#186b17",
  "rgb": {
    "r": 24,
    "g": 107,
    "b": 23
  },
  "hsl": {
    "h": 119.286,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46228,
    "c": 0.14048,
    "h": 142.7
  },
  "luminance": 0.10771
}

Semantic roles & 50–950 ramp

primary
#186B17
secondary
#A03DA1
accent
#40E8E6
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #186B17

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

Preview Lab → · Contrast checker → · Palette generator →

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