#186F1D#186F1D

#186F1D is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.5% C 0.141 H 143.6°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#186F1D
RGBrgb(24, 111, 29)
HSLhsl(123, 64%, 26%)
HSVhsv(123, 78%, 44%)
CMYKcmyk(78.4%, 0%, 73.9%, 56.5%)
CIE-LABlab(40.66, -42.04, 36.74)
CIE-LCHlch(40.66, 55.84, 138.85°)
OKLaboklab(47.46% -0.1139 0.0839)
OKLCHoklch(47.46% 0.141 143.6)
XYZxyz(6.2825, 11.6511, 3.0799)
Luminance0.1165 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186F1D #6F186A
analogous
#3F6F18 #186F1D #186F49
triadic
#186F1D #1D186F #6F1D18
tetradic
#186F1D #183F6F #6F186A #6F4918
square
#186F1D #183F6F #6F186A #6F4918
split-complementary
#186F1D #49186F #6F183F
monochromatic
#051907 #0D3D10 #186F1D #23A12A #2FD239

Accessibility & contrast

On white

6.31
#186F1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#186F1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186F1D
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186F1D#FFFFFF#000000##FFFFFF
##186F1D1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716410
Deuteranopia (green-blind)
#685D25
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #186f1d;
/* rgb */ color: rgb(24, 111, 29);
/* oklch */ color: oklch(47.5% 0.141 143.6);
Tailwind
colors: {
  custom: {
    50: '#65995e',
    500: '#186f1d',
    950: '#000000',
  },
}
SCSS
$custom: #186f1d;
$custom-light: #65995e;
$custom-dark: #000000;
JSON
{
  "hex": "#186f1d",
  "rgb": {
    "r": 24,
    "g": 111,
    "b": 29
  },
  "hsl": {
    "h": 123.448,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47459,
    "c": 0.14146,
    "h": 143.6
  },
  "luminance": 0.11652
}

Semantic roles & 50–950 ramp

primary
#186F1D
secondary
#A53E9F
accent
#40DEE7
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #186F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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