#18541D#18541D

#18541D is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.4% C 0.106 H 144.5°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#18541D
RGBrgb(24, 84, 29)
HSLhsl(125, 56%, 21%)
HSVhsv(125, 71%, 33%)
CMYKcmyk(71.4%, 0%, 65.5%, 67.1%)
CIE-LABlab(30.93, -31.80, 26.10)
CIE-LCHlch(30.93, 41.14, 140.62°)
OKLaboklab(39.4% -0.0861 0.0614)
OKLCHoklch(39.4% 0.106 144.5)
XYZxyz(3.7685, 6.6232, 2.2420)
Luminance0.0662 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18541D #54184F
analogous
#315418 #18541D #18543B
triadic
#18541D #1D1854 #541D18
tetradic
#18541D #183154 #54184F #543B18
square
#18541D #183154 #54184F #543B18
split-complementary
#18541D #3B1854 #541831
monochromatic
#071808 #0A240D #18541D #26842D #33B33E

Accessibility & contrast

On white

9.03
#18541D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#18541D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18541D
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18541D#FFFFFF#000000##FFFFFF
##18541D1.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C17
Deuteranopia (green-blind)
#4E4722
Tritanopia (blue-blind)
#085248
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #18541d;
/* rgb */ color: rgb(24, 84, 29);
/* oklch */ color: oklch(39.4% 0.106 144.5);
Tailwind
colors: {
  custom: {
    50: '#5e855b',
    500: '#18541d',
    950: '#000000',
  },
}
SCSS
$custom: #18541d;
$custom-light: #5e855b;
$custom-dark: #000000;
JSON
{
  "hex": "#18541d",
  "rgb": {
    "r": 24,
    "g": 84,
    "b": 29
  },
  "hsl": {
    "h": 125,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.394,
    "c": 0.10574,
    "h": 144.5
  },
  "luminance": 0.06624
}

Semantic roles & 50–950 ramp

primary
#18541D
secondary
#8B3D84
accent
#49D2DF
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #18541D

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

Preview Lab → · Contrast checker → · Palette generator →

#18541D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva