#186F2A#186F2A

#186F2A is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.131 H 146.3°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#186F2A
RGBrgb(24, 111, 42)
HSLhsl(132, 64%, 26%)
HSVhsv(132, 78%, 44%)
CMYKcmyk(78.4%, 0%, 62.2%, 56.5%)
CIE-LABlab(40.78, -40.51, 30.80)
CIE-LCHlch(40.78, 50.89, 142.76°)
OKLaboklab(47.61% -0.1091 0.0728)
OKLCHoklch(47.61% 0.131 146.3)
XYZxyz(6.4786, 11.7295, 4.1126)
Luminance0.1173 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186F2A #6F185D
analogous
#326F18 #186F2A #186F56
triadic
#186F2A #2A186F #6F2A18
tetradic
#186F2A #18326F #6F185D #6F5618
square
#186F2A #18326F #6F185D #6F5618
split-complementary
#186F2A #56186F #6F1832
monochromatic
#05190A #0D3D17 #186F2A #23A13D #2FD251

Accessibility & contrast

On white

6.28
#186F2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#186F2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186F2A
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186F2A#FFFFFF#000000##FFFFFF
##186F2A1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716423
Deuteranopia (green-blind)
#675D30
Tritanopia (blue-blind)
#006C60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #186f2a;
/* rgb */ color: rgb(24, 111, 42);
/* oklch */ color: oklch(47.6% 0.131 146.3);
Tailwind
colors: {
  custom: {
    50: '#649966',
    500: '#186f2a',
    950: '#000000',
  },
}
SCSS
$custom: #186f2a;
$custom-light: #649966;
$custom-dark: #000000;
JSON
{
  "hex": "#186f2a",
  "rgb": {
    "r": 24,
    "g": 111,
    "b": 42
  },
  "hsl": {
    "h": 132.414,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47605,
    "c": 0.13116,
    "h": 146.3
  },
  "luminance": 0.1173
}

Semantic roles & 50–950 ramp

primary
#186F2A
secondary
#A53E8F
accent
#40C5E7
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #186F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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