#186A27#186A27

#186A27 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.1% C 0.127 H 145.9°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#186A27
RGBrgb(24, 106, 39)
HSLhsl(131, 63%, 25%)
HSVhsv(131, 77%, 42%)
CMYKcmyk(77.4%, 0%, 63.2%, 58.4%)
CIE-LABlab(38.98, -39.05, 30.23)
CIE-LCHlch(38.98, 49.39, 142.26°)
OKLaboklab(46.1% -0.1053 0.0712)
OKLCHoklch(46.1% 0.127 145.9)
XYZxyz(5.8965, 10.6481, 3.6636)
Luminance0.1065 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186A27 #6A185B
analogous
#326A18 #186A27 #186A50
triadic
#186A27 #27186A #6A2718
tetradic
#186A27 #18326A #6A185B #6A5018
square
#186A27 #18326A #6A185B #6A5018
split-complementary
#186A27 #50186A #6A1832
monochromatic
#061909 #0D3815 #186A27 #239C39 #2FCE4C

Accessibility & contrast

On white

6.71
#186A27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#186A27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186A27
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186A27#FFFFFF#000000##FFFFFF
##186A271.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6020
Deuteranopia (green-blind)
#62592D
Tritanopia (blue-blind)
#00675C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #186a27;
/* rgb */ color: rgb(24, 106, 39);
/* oklch */ color: oklch(46.1% 0.127 145.9);
Tailwind
colors: {
  custom: {
    50: '#639564',
    500: '#186a27',
    950: '#000000',
  },
}
SCSS
$custom: #186a27;
$custom-light: #639564;
$custom-dark: #000000;
JSON
{
  "hex": "#186a27",
  "rgb": {
    "r": 24,
    "g": 106,
    "b": 39
  },
  "hsl": {
    "h": 130.976,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46101,
    "c": 0.12714,
    "h": 145.9
  },
  "luminance": 0.10649
}

Semantic roles & 50–950 ramp

primary
#186A27
secondary
#A03E8E
accent
#42C8E6
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #186A27

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

Preview Lab → · Contrast checker → · Palette generator →

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