#186C27#186C27

#186C27 is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.7% C 0.130 H 145.8°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#186C27
RGBrgb(24, 108, 39)
HSLhsl(131, 64%, 26%)
HSVhsv(131, 78%, 42%)
CMYKcmyk(77.8%, 0%, 63.9%, 57.6%)
CIE-LABlab(39.69, -39.80, 31.04)
CIE-LCHlch(39.69, 50.48, 142.05°)
OKLaboklab(46.69% -0.1073 0.073)
OKLCHoklch(46.69% 0.13 145.8)
XYZxyz(6.1050, 11.0651, 3.7331)
Luminance0.1107 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186C27 #6C185D
analogous
#336C18 #186C27 #186C51
triadic
#186C27 #27186C #6C2718
tetradic
#186C27 #18336C #6C185D #6C5118
square
#186C27 #18336C #6C185D #6C5118
split-complementary
#186C27 #51186C #6C1833
monochromatic
#061909 #0D3A15 #186C27 #239E39 #2ED04B

Accessibility & contrast

On white

6.54
#186C27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#186C27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186C27
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186C27#FFFFFF#000000##FFFFFF
##186C271.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6220
Deuteranopia (green-blind)
#645B2D
Tritanopia (blue-blind)
#00695D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #186c27;
/* rgb */ color: rgb(24, 108, 39);
/* oklch */ color: oklch(46.7% 0.130 145.8);
Tailwind
colors: {
  custom: {
    50: '#649764',
    500: '#186c27',
    950: '#000000',
  },
}
SCSS
$custom: #186c27;
$custom-light: #649764;
$custom-dark: #000000;
JSON
{
  "hex": "#186c27",
  "rgb": {
    "r": 24,
    "g": 108,
    "b": 39
  },
  "hsl": {
    "h": 130.714,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.46688,
    "c": 0.1298,
    "h": 145.8
  },
  "luminance": 0.11066
}

Semantic roles & 50–950 ramp

primary
#186C27
secondary
#A23E90
accent
#41C9E7
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #186C27

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

Preview Lab → · Contrast checker → · Palette generator →

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