#186F1A#186F1A

#186F1A is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.4% C 0.143 H 143.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#186F1A
RGBrgb(24, 111, 26)
HSLhsl(121, 64%, 26%)
HSVhsv(121, 78%, 44%)
CMYKcmyk(78.4%, 0%, 76.6%, 56.5%)
CIE-LABlab(40.63, -42.32, 37.96)
CIE-LCHlch(40.63, 56.85, 138.11°)
OKLaboklab(47.43% -0.1148 0.086)
OKLCHoklch(47.43% 0.143 143.1)
XYZxyz(6.2472, 11.6369, 2.8940)
Luminance0.1164 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186F1A #6F186D
analogous
#426F18 #186F1A #186F46
triadic
#186F1A #1A186F #6F1A18
tetradic
#186F1A #18426F #6F186D #6F4618
square
#186F1A #18426F #6F186D #6F4618
split-complementary
#186F1A #46186F #6F1842
monochromatic
#051906 #0D3D0E #186F1A #23A126 #2FD233

Accessibility & contrast

On white

6.31
#186F1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#186F1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186F1A
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186F1A#FFFFFF#000000##FFFFFF
##186F1A1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71640A
Deuteranopia (green-blind)
#685D23
Tritanopia (blue-blind)
#006C5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #186f1a;
/* rgb */ color: rgb(24, 111, 26);
/* oklch */ color: oklch(47.4% 0.143 143.1);
Tailwind
colors: {
  custom: {
    50: '#65995d',
    500: '#186f1a',
    950: '#000000',
  },
}
SCSS
$custom: #186f1a;
$custom-light: #65995d;
$custom-dark: #000000;
JSON
{
  "hex": "#186f1a",
  "rgb": {
    "r": 24,
    "g": 111,
    "b": 26
  },
  "hsl": {
    "h": 121.379,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47433,
    "c": 0.14346,
    "h": 143.1
  },
  "luminance": 0.11638
}

Semantic roles & 50–950 ramp

primary
#186F1A
secondary
#A53EA2
accent
#40E4E7
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #186F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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