#186A28#186A28

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

Color values

HEX#186A28
RGBrgb(24, 106, 40)
HSLhsl(132, 63%, 25%)
HSVhsv(132, 77%, 42%)
CMYKcmyk(77.4%, 0%, 62.3%, 58.4%)
CIE-LABlab(38.99, -38.92, 29.73)
CIE-LCHlch(38.99, 48.97, 142.62°)
OKLaboklab(46.11% -0.1049 0.0703)
OKLCHoklch(46.11% 0.126 146.2)
XYZxyz(5.9133, 10.6548, 3.7520)
Luminance0.1066 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186A28 #6A185A
analogous
#316A18 #186A28 #186A51
triadic
#186A28 #28186A #6A2818
tetradic
#186A28 #18316A #6A185A #6A5118
square
#186A28 #18316A #6A185A #6A5118
split-complementary
#186A28 #51186A #6A1831
monochromatic
#061909 #0D3815 #186A28 #239C3B #2FCE4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##186A28#FFFFFF#000000##FFFFFF
##186A281.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)
#6C6021
Deuteranopia (green-blind)
#62592D
Tritanopia (blue-blind)
#00675C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #186a28;
/* rgb */ color: rgb(24, 106, 40);
/* oklch */ color: oklch(46.1% 0.126 146.2);
Tailwind
colors: {
  custom: {
    50: '#639564',
    500: '#186a28',
    950: '#000000',
  },
}
SCSS
$custom: #186a28;
$custom-light: #639564;
$custom-dark: #000000;
JSON
{
  "hex": "#186a28",
  "rgb": {
    "r": 24,
    "g": 106,
    "b": 40
  },
  "hsl": {
    "h": 131.707,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46114,
    "c": 0.12626,
    "h": 146.2
  },
  "luminance": 0.10655
}

Semantic roles & 50–950 ramp

primary
#186A28
secondary
#A03E8D
accent
#42C6E6
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #186A28

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

Preview Lab → · Contrast checker → · Palette generator →

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