#185B17#185B17

#185B17 is a dark, vivid green. Relative luminance 0.077; OKLCH L 41.4% C 0.120 H 142.8°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#185B17
RGBrgb(24, 91, 23)
HSLhsl(119, 60%, 22%)
HSVhsv(119, 75%, 36%)
CMYKcmyk(73.6%, 0%, 74.7%, 64.3%)
CIE-LABlab(33.43, -35.29, 31.77)
CIE-LCHlch(33.43, 47.48, 138.00°)
OKLaboklab(41.45% -0.0959 0.0727)
OKLCHoklch(41.45% 0.12 142.8)
XYZxyz(4.2722, 7.7378, 2.0788)
Luminance0.0774 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185B17 #5A175B
analogous
#3A5B17 #185B17 #175B38
triadic
#185B17 #17185B #5B1718
tetradic
#185B17 #173A5B #5A175B #5B3817
square
#185B17 #173A5B #5A175B #5B3817
split-complementary
#185B17 #38175B #5B173A
monochromatic
#061806 #0B2A0B #185B17 #258C23 #32BD30

Accessibility & contrast

On white

8.24
#185B17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#185B17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185B17
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185B17#FFFFFF#000000##FFFFFF
##185B171.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D520D
Deuteranopia (green-blind)
#554D1E
Tritanopia (blue-blind)
#06584D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #185b17;
/* rgb */ color: rgb(24, 91, 23);
/* oklch */ color: oklch(41.4% 0.120 142.8);
Tailwind
colors: {
  custom: {
    50: '#608a58',
    500: '#185b17',
    950: '#000000',
  },
}
SCSS
$custom: #185b17;
$custom-light: #608a58;
$custom-dark: #000000;
JSON
{
  "hex": "#185b17",
  "rgb": {
    "r": 24,
    "g": 91,
    "b": 23
  },
  "hsl": {
    "h": 119.118,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41448,
    "c": 0.12031,
    "h": 142.8
  },
  "luminance": 0.07738
}

Semantic roles & 50–950 ramp

primary
#185B17
secondary
#913C92
accent
#45E3E0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C03
muted
#7A7D78

Preview Lab

Preview with #185B17

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

Preview Lab → · Contrast checker → · Palette generator →

#185B17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva