#18541F#18541F

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

Color values

HEX#18541F
RGBrgb(24, 84, 31)
HSLhsl(127, 56%, 21%)
HSVhsv(127, 71%, 33%)
CMYKcmyk(71.4%, 0%, 63.1%, 67.1%)
CIE-LABlab(30.96, -31.52, 25.07)
CIE-LCHlch(30.96, 40.27, 141.51°)
OKLaboklab(39.43% -0.0853 0.0593)
OKLCHoklch(39.43% 0.104 145.2)
XYZxyz(3.7941, 6.6334, 2.3765)
Luminance0.0663 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18541F #54184D
analogous
#2F5418 #18541F #18543D
triadic
#18541F #1F1854 #541F18
tetradic
#18541F #182F54 #54184D #543D18
square
#18541F #182F54 #54184D #543D18
split-complementary
#18541F #3D1854 #54182F
monochromatic
#071809 #0A240D #18541F #268431 #33B342

Accessibility & contrast

On white

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

On black

2.33
#18541F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##18541F#FFFFFF#000000##FFFFFF
##18541F1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C1A
Deuteranopia (green-blind)
#4E4723
Tritanopia (blue-blind)
#075248
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #18541f;
/* rgb */ color: rgb(24, 84, 31);
/* oklch */ color: oklch(39.4% 0.104 145.2);
Tailwind
colors: {
  custom: {
    50: '#5e855c',
    500: '#18541f',
    950: '#000000',
  },
}
SCSS
$custom: #18541f;
$custom-light: #5e855c;
$custom-dark: #000000;
JSON
{
  "hex": "#18541f",
  "rgb": {
    "r": 24,
    "g": 84,
    "b": 31
  },
  "hsl": {
    "h": 127,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.39428,
    "c": 0.10387,
    "h": 145.2
  },
  "luminance": 0.06634
}

Semantic roles & 50–950 ramp

primary
#18541F
secondary
#8B3D82
accent
#49CDDF
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #18541F

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

Preview Lab → · Contrast checker → · Palette generator →

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