#186D1B#186D1B

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

Color values

HEX#186D1B
RGBrgb(24, 109, 27)
HSLhsl(122, 64%, 26%)
HSVhsv(122, 78%, 43%)
CMYKcmyk(78%, 0%, 75.2%, 57.3%)
CIE-LABlab(39.93, -41.53, 36.83)
CIE-LCHlch(39.93, 55.51, 138.43°)
OKLaboklab(46.85% -0.1126 0.0838)
OKLCHoklch(46.85% 0.14 143.3)
XYZxyz(6.0428, 11.2099, 2.8820)
Luminance0.1121 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186D1B #6D186A
analogous
#3F6D18 #186D1B #186D45
triadic
#186D1B #1B186D #6D1B18
tetradic
#186D1B #183F6D #6D186A #6D4518
square
#186D1B #183F6D #6D186A #6D4518
split-complementary
#186D1B #45186D #6D183F
monochromatic
#061906 #0D3B0F #186D1B #239F27 #2ED134

Accessibility & contrast

On white

6.48
#186D1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#186D1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186D1B
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186D1B#FFFFFF#000000##FFFFFF
##186D1B1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #186d1b;
/* rgb */ color: rgb(24, 109, 27);
/* oklch */ color: oklch(46.9% 0.140 143.3);
Tailwind
colors: {
  custom: {
    50: '#65985d',
    500: '#186d1b',
    950: '#000000',
  },
}
SCSS
$custom: #186d1b;
$custom-light: #65985d;
$custom-dark: #000000;
JSON
{
  "hex": "#186d1b",
  "rgb": {
    "r": 24,
    "g": 109,
    "b": 27
  },
  "hsl": {
    "h": 122.118,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.46852,
    "c": 0.14036,
    "h": 143.3
  },
  "luminance": 0.11211
}

Semantic roles & 50–950 ramp

primary
#186D1B
secondary
#A33E9F
accent
#41E1E7
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #186D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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