#185818#185818

#185818 is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.6% C 0.116 H 143.1°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#185818
RGBrgb(24, 88, 24)
HSLhsl(120, 57%, 22%)
HSVhsv(120, 73%, 35%)
CMYKcmyk(72.7%, 0%, 72.7%, 65.5%)
CIE-LABlab(32.35, -34.02, 30.16)
CIE-LCHlch(32.35, 45.46, 138.44°)
OKLaboklab(40.55% -0.0924 0.0694)
OKLCHoklch(40.55% 0.116 143.1)
XYZxyz(4.0310, 7.2392, 2.0488)
Luminance0.0724 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185818 #581858
analogous
#385818 #185818 #185838
triadic
#185818 #181858 #581818
tetradic
#185818 #183858 #581858 #583818
square
#185818 #183858 #581858 #583818
split-complementary
#185818 #381858 #581838
monochromatic
#071807 #0B280B #185818 #258825 #32B832

Accessibility & contrast

On white

8.58
#185818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#185818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185818
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185818#FFFFFF#000000##FFFFFF
##1858181.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F0F
Deuteranopia (green-blind)
#524A1E
Tritanopia (blue-blind)
#08554B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #185818;
/* rgb */ color: rgb(24, 88, 24);
/* oklch */ color: oklch(40.6% 0.116 143.1);
Tailwind
colors: {
  custom: {
    50: '#5f8858',
    500: '#185818',
    950: '#000000',
  },
}
SCSS
$custom: #185818;
$custom-light: #5f8858;
$custom-dark: #000000;
JSON
{
  "hex": "#185818",
  "rgb": {
    "r": 24,
    "g": 88,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.40552,
    "c": 0.11555,
    "h": 143.1
  },
  "luminance": 0.0724
}

Semantic roles & 50–950 ramp

primary
#185818
secondary
#8F3D8F
accent
#47E0E0
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #185818

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

Preview Lab → · Contrast checker → · Palette generator →

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