#186F2F#186F2F

#186F2F is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.7% C 0.127 H 147.7°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#186F2F
RGBrgb(24, 111, 47)
HSLhsl(136, 64%, 26%)
HSVhsv(136, 78%, 44%)
CMYKcmyk(78.4%, 0%, 57.7%, 56.5%)
CIE-LABlab(40.84, -39.78, 28.28)
CIE-LCHlch(40.84, 48.81, 144.59°)
OKLaboklab(47.68% -0.107 0.0677)
OKLCHoklch(47.68% 0.127 147.7)
XYZxyz(6.5737, 11.7675, 4.6137)
Luminance0.1177 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186F2F #6F1858
analogous
#2D6F18 #186F2F #186F5B
triadic
#186F2F #2F186F #6F2F18
tetradic
#186F2F #182D6F #6F1858 #6F5B18
square
#186F2F #182D6F #6F1858 #6F5B18
split-complementary
#186F2F #5B186F #6F182D
monochromatic
#05190B #0D3D1A #186F2F #23A144 #2FD25A

Accessibility & contrast

On white

6.26
#186F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #186F2F
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186F2F#FFFFFF#000000##FFFFFF
##186F2F1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706529
Deuteranopia (green-blind)
#665E34
Tritanopia (blue-blind)
#006D61
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #186f2f;
/* rgb */ color: rgb(24, 111, 47);
/* oklch */ color: oklch(47.7% 0.127 147.7);
Tailwind
colors: {
  custom: {
    50: '#649969',
    500: '#186f2f',
    950: '#000000',
  },
}
SCSS
$custom: #186f2f;
$custom-light: #649969;
$custom-dark: #000000;
JSON
{
  "hex": "#186f2f",
  "rgb": {
    "r": 24,
    "g": 111,
    "b": 47
  },
  "hsl": {
    "h": 135.862,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47676,
    "c": 0.12661,
    "h": 147.7
  },
  "luminance": 0.11768
}

Semantic roles & 50–950 ramp

primary
#186F2F
secondary
#A53E8A
accent
#40BBE7
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #186F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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