#186F2C#186F2C

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

Color values

HEX#186F2C
RGBrgb(24, 111, 44)
HSLhsl(134, 64%, 26%)
HSVhsv(134, 78%, 44%)
CMYKcmyk(78.4%, 0%, 60.4%, 56.5%)
CIE-LABlab(40.81, -40.23, 29.80)
CIE-LCHlch(40.81, 50.06, 143.47°)
OKLaboklab(47.63% -0.1083 0.0708)
OKLCHoklch(47.63% 0.129 146.8)
XYZxyz(6.5153, 11.7442, 4.3059)
Luminance0.1174 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186F2C #6F185B
analogous
#306F18 #186F2C #186F58
triadic
#186F2C #2C186F #6F2C18
tetradic
#186F2C #18306F #6F185B #6F5818
square
#186F2C #18306F #6F185B #6F5818
split-complementary
#186F2C #58186F #6F1830
monochromatic
#05190A #0D3D18 #186F2C #23A140 #2FD255

Accessibility & contrast

On white

6.27
#186F2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #186F2C
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186F2C#FFFFFF#000000##FFFFFF
##186F2C1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #186f2c;
/* rgb */ color: rgb(24, 111, 44);
/* oklch */ color: oklch(47.6% 0.129 146.8);
Tailwind
colors: {
  custom: {
    50: '#649967',
    500: '#186f2c',
    950: '#000000',
  },
}
SCSS
$custom: #186f2c;
$custom-light: #649967;
$custom-dark: #000000;
JSON
{
  "hex": "#186f2c",
  "rgb": {
    "r": 24,
    "g": 111,
    "b": 44
  },
  "hsl": {
    "h": 133.793,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47632,
    "c": 0.12938,
    "h": 146.8
  },
  "luminance": 0.11745
}

Semantic roles & 50–950 ramp

primary
#186F2C
secondary
#A53E8D
accent
#40C1E7
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #186F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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