#186D1E#186D1E

#186D1E is a mid, vivid green. Relative luminance 0.112; OKLCH L 46.9% C 0.138 H 143.8°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#186D1E
RGBrgb(24, 109, 30)
HSLhsl(124, 64%, 26%)
HSVhsv(124, 78%, 43%)
CMYKcmyk(78%, 0%, 72.5%, 57.3%)
CIE-LABlab(39.96, -41.23, 35.58)
CIE-LCHlch(39.96, 54.46, 139.21°)
OKLaboklab(46.88% -0.1116 0.0816)
OKLCHoklch(46.88% 0.138 143.8)
XYZxyz(6.0793, 11.2245, 3.0742)
Luminance0.1123 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186D1E #6D1867
analogous
#3C6D18 #186D1E #186D48
triadic
#186D1E #1E186D #6D1E18
tetradic
#186D1E #183C6D #6D1867 #6D4818
square
#186D1E #183C6D #6D1867 #6D4818
split-complementary
#186D1E #48186D #6D183C
monochromatic
#061907 #0D3B10 #186D1E #239F2C #2ED13A

Accessibility & contrast

On white

6.47
#186D1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#186D1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186D1E
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186D1E#FFFFFF#000000##FFFFFF
##186D1E1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6212
Deuteranopia (green-blind)
#665C26
Tritanopia (blue-blind)
#006A5D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #186d1e;
/* rgb */ color: rgb(24, 109, 30);
/* oklch */ color: oklch(46.9% 0.138 143.8);
Tailwind
colors: {
  custom: {
    50: '#65985e',
    500: '#186d1e',
    950: '#000000',
  },
}
SCSS
$custom: #186d1e;
$custom-light: #65985e;
$custom-dark: #000000;
JSON
{
  "hex": "#186d1e",
  "rgb": {
    "r": 24,
    "g": 109,
    "b": 30
  },
  "hsl": {
    "h": 124.235,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.4688,
    "c": 0.13826,
    "h": 143.8
  },
  "luminance": 0.11225
}

Semantic roles & 50–950 ramp

primary
#186D1E
secondary
#A33E9C
accent
#41DBE7
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #186D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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