#186A1B#186A1B

#186A1B is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.0% C 0.137 H 143.4°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#186A1B
RGBrgb(24, 106, 27)
HSLhsl(122, 63%, 25%)
HSVhsv(122, 77%, 42%)
CMYKcmyk(77.4%, 0%, 74.5%, 58.4%)
CIE-LABlab(38.87, -40.45, 35.72)
CIE-LCHlch(38.87, 53.97, 138.55°)
OKLaboklab(45.97% -0.1097 0.0815)
OKLCHoklch(45.97% 0.137 143.4)
XYZxyz(5.7282, 10.5807, 2.7771)
Luminance0.1058 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186A1B #6A1867
analogous
#3E6A18 #186A1B #186A44
triadic
#186A1B #1B186A #6A1B18
tetradic
#186A1B #183E6A #6A1867 #6A4418
square
#186A1B #183E6A #6A1867 #6A4418
split-complementary
#186A1B #44186A #6A183E
monochromatic
#061906 #0D380E #186A1B #239C28 #2FCE34

Accessibility & contrast

On white

6.74
#186A1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#186A1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186A1B
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186A1B#FFFFFF#000000##FFFFFF
##186A1B1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F0E
Deuteranopia (green-blind)
#635923
Tritanopia (blue-blind)
#00675A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #186a1b;
/* rgb */ color: rgb(24, 106, 27);
/* oklch */ color: oklch(46.0% 0.137 143.4);
Tailwind
colors: {
  custom: {
    50: '#64955c',
    500: '#186a1b',
    950: '#000000',
  },
}
SCSS
$custom: #186a1b;
$custom-light: #64955c;
$custom-dark: #000000;
JSON
{
  "hex": "#186a1b",
  "rgb": {
    "r": 24,
    "g": 106,
    "b": 27
  },
  "hsl": {
    "h": 122.195,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.45967,
    "c": 0.13664,
    "h": 143.4
  },
  "luminance": 0.10581
}

Semantic roles & 50–950 ramp

primary
#186A1B
secondary
#A03E9C
accent
#42E0E6
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #186A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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