#186A12#186A12

#186A12 is a mid, vivid green. Relative luminance 0.105; OKLCH L 45.9% C 0.142 H 142.1°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#186A12
RGBrgb(24, 106, 18)
HSLhsl(116, 71%, 24%)
HSVhsv(116, 83%, 42%)
CMYKcmyk(77.4%, 0%, 83%, 58.4%)
CIE-LABlab(38.80, -41.21, 39.12)
CIE-LCHlch(38.80, 56.82, 136.49°)
OKLaboklab(45.9% -0.1122 0.0873)
OKLCHoklch(45.9% 0.142 142.1)
XYZxyz(5.6396, 10.5453, 2.3104)
Luminance0.1055 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186A12 #64126A
analogous
#446A12 #186A12 #126A38
triadic
#186A12 #12186A #6A1218
tetradic
#186A12 #12446A #64126A #6A3812
square
#186A12 #12446A #64126A #6A3812
split-complementary
#186A12 #38126A #6A1244
monochromatic
#061A04 #0C3609 #186A12 #249E1B #30D324

Accessibility & contrast

On white

6.75
#186A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#186A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186A12
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186A12#FFFFFF#000000##FFFFFF
##186A121.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#63591C
Tritanopia (blue-blind)
#00675A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #186a12;
/* rgb */ color: rgb(24, 106, 18);
/* oklch */ color: oklch(45.9% 0.142 142.1);
Tailwind
colors: {
  custom: {
    50: '#649658',
    500: '#186a12',
    950: '#000000',
  },
}
SCSS
$custom: #186a12;
$custom-light: #649658;
$custom-dark: #000000;
JSON
{
  "hex": "#186a12",
  "rgb": {
    "r": 24,
    "g": 106,
    "b": 18
  },
  "hsl": {
    "h": 115.909,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45896,
    "c": 0.14212,
    "h": 142.1
  },
  "luminance": 0.10546
}

Semantic roles & 50–950 ramp

primary
#186A12
secondary
#9A36A2
accent
#3AEEE1
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #186A12

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

Preview Lab → · Contrast checker → · Palette generator →

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