#186317#186317

#186317 is a dark, vivid green. Relative luminance 0.092; OKLCH L 43.9% C 0.131 H 142.8°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#186317
RGBrgb(24, 99, 23)
HSLhsl(119, 62%, 24%)
HSVhsv(119, 77%, 39%)
CMYKcmyk(75.8%, 0%, 76.8%, 61.2%)
CIE-LABlab(36.33, -38.29, 34.78)
CIE-LCHlch(36.33, 51.73, 137.75°)
OKLaboklab(43.85% -0.104 0.079)
OKLCHoklch(43.85% 0.131 142.8)
XYZxyz(4.9929, 9.1792, 2.3191)
Luminance0.0918 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186317 #621763
analogous
#3E6317 #186317 #17633C
triadic
#186317 #171863 #631718
tetradic
#186317 #173E63 #621763 #633C17
square
#186317 #173E63 #621763 #633C17
split-complementary
#186317 #3C1763 #63173E
monochromatic
#061906 #0C310B #186317 #249523 #30C62E

Accessibility & contrast

On white

7.40
#186317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#186317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #186317
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186317#FFFFFF#000000##FFFFFF
##1863171.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65590A
Deuteranopia (green-blind)
#5D531F
Tritanopia (blue-blind)
#016054
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #186317;
/* rgb */ color: rgb(24, 99, 23);
/* oklch */ color: oklch(43.9% 0.131 142.8);
Tailwind
colors: {
  custom: {
    50: '#629059',
    500: '#186317',
    950: '#000000',
  },
}
SCSS
$custom: #186317;
$custom-light: #629059;
$custom-dark: #000000;
JSON
{
  "hex": "#186317",
  "rgb": {
    "r": 24,
    "g": 99,
    "b": 23
  },
  "hsl": {
    "h": 119.211,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.4385,
    "c": 0.13059,
    "h": 142.8
  },
  "luminance": 0.0918
}

Semantic roles & 50–950 ramp

primary
#186317
secondary
#983C9A
accent
#42E5E3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060D04
muted
#7A7D79

Preview Lab

Preview with #186317

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

Preview Lab → · Contrast checker → · Palette generator →

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