#186D28#186D28

#186D28 is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.0% C 0.130 H 146.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#186D28
RGBrgb(24, 109, 40)
HSLhsl(131, 64%, 26%)
HSVhsv(131, 78%, 43%)
CMYKcmyk(78%, 0%, 63.3%, 57.3%)
CIE-LABlab(40.05, -40.04, 30.96)
CIE-LCHlch(40.05, 50.61, 142.29°)
OKLaboklab(46.99% -0.1079 0.0729)
OKLCHoklch(46.99% 0.13 146)
XYZxyz(6.2279, 11.2840, 3.8569)
Luminance0.1129 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186D28 #6D185D
analogous
#326D18 #186D28 #186D52
triadic
#186D28 #28186D #6D2818
tetradic
#186D28 #18326D #6D185D #6D5218
square
#186D28 #18326D #6D185D #6D5218
split-complementary
#186D28 #52186D #6D1832
monochromatic
#061909 #0D3B16 #186D28 #239F3A #2ED14D

Accessibility & contrast

On white

6.45
#186D28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#186D28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186D28
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186D28#FFFFFF#000000##FFFFFF
##186D281.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6221
Deuteranopia (green-blind)
#655C2E
Tritanopia (blue-blind)
#006A5E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #186d28;
/* rgb */ color: rgb(24, 109, 40);
/* oklch */ color: oklch(47.0% 0.130 146.0);
Tailwind
colors: {
  custom: {
    50: '#649864',
    500: '#186d28',
    950: '#000000',
  },
}
SCSS
$custom: #186d28;
$custom-light: #649864;
$custom-dark: #000000;
JSON
{
  "hex": "#186d28",
  "rgb": {
    "r": 24,
    "g": 109,
    "b": 40
  },
  "hsl": {
    "h": 131.294,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.46994,
    "c": 0.13026,
    "h": 146
  },
  "luminance": 0.11285
}

Semantic roles & 50–950 ramp

primary
#186D28
secondary
#A33E90
accent
#41C8E7
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #186D28

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

Preview Lab → · Contrast checker → · Palette generator →

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