#186017#186017

#186017 is a dark, vivid green. Relative luminance 0.086; OKLCH L 43.0% C 0.127 H 142.8°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#186017
RGBrgb(24, 96, 23)
HSLhsl(119, 61%, 23%)
HSVhsv(119, 76%, 38%)
CMYKcmyk(75%, 0%, 76%, 62.4%)
CIE-LABlab(35.24, -37.18, 33.66)
CIE-LCHlch(35.24, 50.16, 137.84°)
OKLaboklab(42.95% -0.101 0.0766)
OKLCHoklch(42.95% 0.127 142.8)
XYZxyz(4.7139, 8.6213, 2.2261)
Luminance0.0862 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186017 #5F1760
analogous
#3C6017 #186017 #17603A
triadic
#186017 #171860 #601718
tetradic
#186017 #173C60 #5F1760 #603A17
square
#186017 #173C60 #5F1760 #603A17
split-complementary
#186017 #3A1760 #60173C
monochromatic
#061906 #0C2F0B #186017 #249123 #31C32F

Accessibility & contrast

On white

7.71
#186017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#186017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #186017
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186017#FFFFFF#000000##FFFFFF
##1860171.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62560B
Deuteranopia (green-blind)
#5A511E
Tritanopia (blue-blind)
#035D52
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #186017;
/* rgb */ color: rgb(24, 96, 23);
/* oklch */ color: oklch(43.0% 0.127 142.8);
Tailwind
colors: {
  custom: {
    50: '#618e59',
    500: '#186017',
    950: '#000000',
  },
}
SCSS
$custom: #186017;
$custom-light: #618e59;
$custom-dark: #000000;
JSON
{
  "hex": "#186017",
  "rgb": {
    "r": 24,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 119.178,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.42952,
    "c": 0.12678,
    "h": 142.8
  },
  "luminance": 0.08622
}

Semantic roles & 50–950 ramp

primary
#186017
secondary
#953C97
accent
#43E4E2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #186017

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

Preview Lab → · Contrast checker → · Palette generator →

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