#186D2A#186D2A

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

Color values

HEX#186D2A
RGBrgb(24, 109, 42)
HSLhsl(133, 64%, 26%)
HSVhsv(133, 78%, 43%)
CMYKcmyk(78%, 0%, 61.5%, 57.3%)
CIE-LABlab(40.08, -39.76, 29.98)
CIE-LCHlch(40.08, 49.80, 142.99°)
OKLaboklab(47.02% -0.1071 0.071)
OKLCHoklch(47.02% 0.128 146.5)
XYZxyz(6.2628, 11.2979, 4.0407)
Luminance0.1130 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186D2A #6D185B
analogous
#306D18 #186D2A #186D54
triadic
#186D2A #2A186D #6D2A18
tetradic
#186D2A #18306D #6D185B #6D5418
square
#186D2A #18306D #6D185B #6D5418
split-complementary
#186D2A #54186D #6D1830
monochromatic
#06190A #0D3B17 #186D2A #239F3D #2ED151

Accessibility & contrast

On white

6.44
#186D2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #186D2A
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186D2A#FFFFFF#000000##FFFFFF
##186D2A1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #186d2a;
/* rgb */ color: rgb(24, 109, 42);
/* oklch */ color: oklch(47.0% 0.128 146.5);
Tailwind
colors: {
  custom: {
    50: '#649866',
    500: '#186d2a',
    950: '#000000',
  },
}
SCSS
$custom: #186d2a;
$custom-light: #649866;
$custom-dark: #000000;
JSON
{
  "hex": "#186d2a",
  "rgb": {
    "r": 24,
    "g": 109,
    "b": 42
  },
  "hsl": {
    "h": 132.706,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47021,
    "c": 0.12849,
    "h": 146.5
  },
  "luminance": 0.11299
}

Semantic roles & 50–950 ramp

primary
#186D2A
secondary
#A33E8D
accent
#41C4E7
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #186D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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