#186F2D#186F2D

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

Color values

HEX#186F2D
RGBrgb(24, 111, 45)
HSLhsl(134, 64%, 26%)
HSVhsv(134, 78%, 44%)
CMYKcmyk(78.4%, 0%, 59.5%, 56.5%)
CIE-LABlab(40.82, -40.08, 29.30)
CIE-LCHlch(40.82, 49.65, 143.83°)
OKLaboklab(47.65% -0.1079 0.0697)
OKLCHoklch(47.65% 0.128 147.1)
XYZxyz(6.5343, 11.7518, 4.4061)
Luminance0.1175 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186F2D #6F185A
analogous
#2F6F18 #186F2D #186F59
triadic
#186F2D #2D186F #6F2D18
tetradic
#186F2D #182F6F #6F185A #6F5918
square
#186F2D #182F6F #6F185A #6F5918
split-complementary
#186F2D #59186F #6F182F
monochromatic
#05190A #0D3D19 #186F2D #23A141 #2FD257

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##186F2D#FFFFFF#000000##FFFFFF
##186F2D1.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)
#706427
Deuteranopia (green-blind)
#665E32
Tritanopia (blue-blind)
#006C60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #186f2d;
/* rgb */ color: rgb(24, 111, 45);
/* oklch */ color: oklch(47.6% 0.128 147.1);
Tailwind
colors: {
  custom: {
    50: '#649968',
    500: '#186f2d',
    950: '#000000',
  },
}
SCSS
$custom: #186f2d;
$custom-light: #649968;
$custom-dark: #000000;
JSON
{
  "hex": "#186f2d",
  "rgb": {
    "r": 24,
    "g": 111,
    "b": 45
  },
  "hsl": {
    "h": 134.483,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47646,
    "c": 0.12847,
    "h": 147.1
  },
  "luminance": 0.11753
}

Semantic roles & 50–950 ramp

primary
#186F2D
secondary
#A53E8C
accent
#40BFE7
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #186F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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