#186D2F#186D2F

#186D2F is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.1% C 0.124 H 147.9°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#186D2F
RGBrgb(24, 109, 47)
HSLhsl(136, 64%, 26%)
HSVhsv(136, 78%, 43%)
CMYKcmyk(78%, 0%, 56.9%, 57.3%)
CIE-LABlab(40.14, -39.02, 27.43)
CIE-LCHlch(40.14, 47.70, 144.89°)
OKLaboklab(47.09% -0.105 0.0658)
OKLCHoklch(47.09% 0.124 147.9)
XYZxyz(6.3579, 11.3360, 4.5418)
Luminance0.1134 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186D2F #6D1856
analogous
#2B6D18 #186D2F #186D59
triadic
#186D2F #2F186D #6D2F18
tetradic
#186D2F #182B6D #6D1856 #6D5918
square
#186D2F #182B6D #6D1856 #6D5918
split-complementary
#186D2F #59186D #6D182B
monochromatic
#06190B #0D3B19 #186D2F #239F45 #2ED15A

Accessibility & contrast

On white

6.43
#186D2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#186D2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186D2F
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186D2F#FFFFFF#000000##FFFFFF
##186D2F1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6329
Deuteranopia (green-blind)
#645C34
Tritanopia (blue-blind)
#006B5F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #186d2f;
/* rgb */ color: rgb(24, 109, 47);
/* oklch */ color: oklch(47.1% 0.124 147.9);
Tailwind
colors: {
  custom: {
    50: '#649869',
    500: '#186d2f',
    950: '#000000',
  },
}
SCSS
$custom: #186d2f;
$custom-light: #649869;
$custom-dark: #000000;
JSON
{
  "hex": "#186d2f",
  "rgb": {
    "r": 24,
    "g": 109,
    "b": 47
  },
  "hsl": {
    "h": 136.235,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47093,
    "c": 0.12388,
    "h": 147.9
  },
  "luminance": 0.11337
}

Semantic roles & 50–950 ramp

primary
#186D2F
secondary
#A33E87
accent
#41BAE7
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #186D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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