#186517#186517

#186517 is a dark, vivid green. Relative luminance 0.096; OKLCH L 44.4% C 0.133 H 142.8°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#186517
RGBrgb(24, 101, 23)
HSLhsl(119, 63%, 24%)
HSVhsv(119, 77%, 40%)
CMYKcmyk(76.2%, 0%, 77.2%, 60.4%)
CIE-LABlab(37.05, -39.02, 35.52)
CIE-LCHlch(37.05, 52.76, 137.69°)
OKLaboklab(44.45% -0.106 0.0805)
OKLCHoklch(44.45% 0.133 142.8)
XYZxyz(5.1847, 9.5628, 2.3830)
Luminance0.0956 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186517 #641765
analogous
#3F6517 #186517 #17653D
triadic
#186517 #171865 #651718
tetradic
#186517 #173F65 #641765 #653D17
square
#186517 #173F65 #641765 #653D17
split-complementary
#186517 #3D1765 #65173F
monochromatic
#061906 #0C330C #186517 #249722 #30C92E

Accessibility & contrast

On white

7.21
#186517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#186517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #186517
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186517#FFFFFF#000000##FFFFFF
##1865171.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B09
Deuteranopia (green-blind)
#5F551F
Tritanopia (blue-blind)
#006256
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #186517;
/* rgb */ color: rgb(24, 101, 23);
/* oklch */ color: oklch(44.4% 0.133 142.8);
Tailwind
colors: {
  custom: {
    50: '#63925a',
    500: '#186517',
    950: '#000000',
  },
}
SCSS
$custom: #186517;
$custom-light: #63925a;
$custom-dark: #000000;
JSON
{
  "hex": "#186517",
  "rgb": {
    "r": 24,
    "g": 101,
    "b": 23
  },
  "hsl": {
    "h": 119.231,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.44447,
    "c": 0.1331,
    "h": 142.8
  },
  "luminance": 0.09563
}

Semantic roles & 50–950 ramp

primary
#186517
secondary
#9A3C9B
accent
#42E6E4
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #186517

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

Preview Lab → · Contrast checker → · Palette generator →

#186517 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva