#185A18#185A18

#185A18 is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.2% C 0.118 H 143.0°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#185A18
RGBrgb(24, 90, 24)
HSLhsl(120, 58%, 22%)
HSVhsv(120, 73%, 35%)
CMYKcmyk(73.3%, 0%, 73.3%, 64.7%)
CIE-LABlab(33.08, -34.80, 30.94)
CIE-LCHlch(33.08, 46.56, 138.36°)
OKLaboklab(41.16% -0.0945 0.0711)
OKLCHoklch(41.16% 0.118 143)
XYZxyz(4.1975, 7.5720, 2.1043)
Luminance0.0757 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185A18 #5A185A
analogous
#395A18 #185A18 #185A39
triadic
#185A18 #18185A #5A1818
tetradic
#185A18 #18395A #5A185A #5A3918
square
#185A18 #18395A #5A185A #5A3918
split-complementary
#185A18 #39185A #5A1839
monochromatic
#061806 #0B2A0B #185A18 #258A25 #32BB32

Accessibility & contrast

On white

8.35
#185A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#185A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185A18
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185A18#FFFFFF#000000##FFFFFF
##185A181.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510F
Deuteranopia (green-blind)
#544C1E
Tritanopia (blue-blind)
#07574D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #185a18;
/* rgb */ color: rgb(24, 90, 24);
/* oklch */ color: oklch(41.2% 0.118 143.0);
Tailwind
colors: {
  custom: {
    50: '#608959',
    500: '#185a18',
    950: '#000000',
  },
}
SCSS
$custom: #185a18;
$custom-light: #608959;
$custom-dark: #000000;
JSON
{
  "hex": "#185a18",
  "rgb": {
    "r": 24,
    "g": 90,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41157,
    "c": 0.11823,
    "h": 143
  },
  "luminance": 0.07572
}

Semantic roles & 50–950 ramp

primary
#185A18
secondary
#913D91
accent
#47E1E1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C03
muted
#7A7D78

Preview Lab

Preview with #185A18

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

Preview Lab → · Contrast checker → · Palette generator →

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