#186F1B#186F1B

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

Color values

HEX#186F1B
RGBrgb(24, 111, 27)
HSLhsl(122, 64%, 26%)
HSVhsv(122, 78%, 44%)
CMYKcmyk(78.4%, 0%, 75.7%, 56.5%)
CIE-LABlab(40.64, -42.23, 37.56)
CIE-LCHlch(40.64, 56.52, 138.35°)
OKLaboklab(47.44% -0.1145 0.0854)
OKLCHoklch(47.44% 0.143 143.3)
XYZxyz(6.2586, 11.6415, 2.9539)
Luminance0.1164 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186F1B #6F186C
analogous
#416F18 #186F1B #186F47
triadic
#186F1B #1B186F #6F1B18
tetradic
#186F1B #18416F #6F186C #6F4718
square
#186F1B #18416F #6F186C #6F4718
split-complementary
#186F1B #47186F #6F1841
monochromatic
#051906 #0D3D0F #186F1B #23A127 #2FD235

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##186F1B#FFFFFF#000000##FFFFFF
##186F1B1.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)
#71640C
Deuteranopia (green-blind)
#685D24
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #186f1b;
/* rgb */ color: rgb(24, 111, 27);
/* oklch */ color: oklch(47.4% 0.143 143.3);
Tailwind
colors: {
  custom: {
    50: '#65995d',
    500: '#186f1b',
    950: '#000000',
  },
}
SCSS
$custom: #186f1b;
$custom-light: #65995d;
$custom-dark: #000000;
JSON
{
  "hex": "#186f1b",
  "rgb": {
    "r": 24,
    "g": 111,
    "b": 27
  },
  "hsl": {
    "h": 122.069,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47441,
    "c": 0.14281,
    "h": 143.3
  },
  "luminance": 0.11642
}

Semantic roles & 50–950 ramp

primary
#186F1B
secondary
#A53EA1
accent
#40E2E7
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #186F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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