#185B18#185B18

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

Color values

HEX#185B18
RGBrgb(24, 91, 24)
HSLhsl(120, 58%, 23%)
HSVhsv(120, 74%, 36%)
CMYKcmyk(73.6%, 0%, 73.6%, 64.3%)
CIE-LABlab(33.44, -35.18, 31.33)
CIE-LCHlch(33.44, 47.11, 138.32°)
OKLaboklab(41.46% -0.0955 0.0719)
OKLCHoklch(41.46% 0.12 143)
XYZxyz(4.2824, 7.7419, 2.1326)
Luminance0.0774 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185B18 #5B185B
analogous
#395B18 #185B18 #185B39
triadic
#185B18 #18185B #5B1818
tetradic
#185B18 #18395B #5B185B #5B3918
square
#185B18 #18395B #5B185B #5B3918
split-complementary
#185B18 #39185B #5B1839
monochromatic
#061806 #0B2B0B #185B18 #258B25 #32BC32

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##185B18#FFFFFF#000000##FFFFFF
##185B181.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)
#5D520E
Deuteranopia (green-blind)
#554D1E
Tritanopia (blue-blind)
#06584D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #185b18;
/* rgb */ color: rgb(24, 91, 24);
/* oklch */ color: oklch(41.5% 0.120 143.0);
Tailwind
colors: {
  custom: {
    50: '#608a59',
    500: '#185b18',
    950: '#000000',
  },
}
SCSS
$custom: #185b18;
$custom-light: #608a59;
$custom-dark: #000000;
JSON
{
  "hex": "#185b18",
  "rgb": {
    "r": 24,
    "g": 91,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.41458,
    "c": 0.11955,
    "h": 143
  },
  "luminance": 0.07742
}

Semantic roles & 50–950 ramp

primary
#185B18
secondary
#923D92
accent
#46E1E1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #185B18

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

Preview Lab → · Contrast checker → · Palette generator →

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