#185918#185918

#185918 is a dark, moderate green. Relative luminance 0.074; OKLCH L 40.9% C 0.117 H 143.1°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#185918
RGBrgb(24, 89, 24)
HSLhsl(120, 58%, 22%)
HSVhsv(120, 73%, 35%)
CMYKcmyk(73%, 0%, 73%, 65.1%)
CIE-LABlab(32.71, -34.41, 30.55)
CIE-LCHlch(32.71, 46.01, 138.40°)
OKLaboklab(40.85% -0.0934 0.0703)
OKLCHoklch(40.85% 0.117 143.1)
XYZxyz(4.1137, 7.4045, 2.0764)
Luminance0.0741 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185918 #591859
analogous
#395918 #185918 #185939
triadic
#185918 #181859 #591818
tetradic
#185918 #183959 #591859 #593918
square
#185918 #183959 #591859 #593918
split-complementary
#185918 #391859 #591839
monochromatic
#061806 #0B290B #185918 #258925 #32B932

Accessibility & contrast

On white

8.46
#185918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#185918 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185918
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185918#FFFFFF#000000##FFFFFF
##1859181.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500F
Deuteranopia (green-blind)
#534B1E
Tritanopia (blue-blind)
#07564C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #185918;
/* rgb */ color: rgb(24, 89, 24);
/* oklch */ color: oklch(40.9% 0.117 143.1);
Tailwind
colors: {
  custom: {
    50: '#608959',
    500: '#185918',
    950: '#000000',
  },
}
SCSS
$custom: #185918;
$custom-light: #608959;
$custom-dark: #000000;
JSON
{
  "hex": "#185918",
  "rgb": {
    "r": 24,
    "g": 89,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 57.522,
    "l": 22.157
  },
  "oklch": {
    "l": 0.40854,
    "c": 0.11689,
    "h": 143.1
  },
  "luminance": 0.07405
}

Semantic roles & 50–950 ramp

primary
#185918
secondary
#903D90
accent
#47E1E1
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #185918

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

Preview Lab → · Contrast checker → · Palette generator →

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