#18541C#18541C

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

Color values

HEX#18541C
RGBrgb(24, 84, 28)
HSLhsl(124, 56%, 21%)
HSVhsv(124, 71%, 33%)
CMYKcmyk(71.4%, 0%, 66.7%, 67.1%)
CIE-LABlab(30.92, -31.94, 26.61)
CIE-LCHlch(30.92, 41.57, 140.20°)
OKLaboklab(39.39% -0.0865 0.0624)
OKLCHoklch(39.39% 0.107 144.2)
XYZxyz(3.7564, 6.6183, 2.1779)
Luminance0.0662 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18541C #541850
analogous
#325418 #18541C #18543A
triadic
#18541C #1C1854 #541C18
tetradic
#18541C #183254 #541850 #543A18
square
#18541C #183254 #541850 #543A18
split-complementary
#18541C #3A1854 #541832
monochromatic
#071808 #0A240C #18541C #26842C #33B33C

Accessibility & contrast

On white

9.04
#18541C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18541C
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18541C#FFFFFF#000000##FFFFFF
##18541C1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C16
Deuteranopia (green-blind)
#4E4721
Tritanopia (blue-blind)
#095248
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #18541c;
/* rgb */ color: rgb(24, 84, 28);
/* oklch */ color: oklch(39.4% 0.107 144.2);
Tailwind
colors: {
  custom: {
    50: '#5e855a',
    500: '#18541c',
    950: '#000000',
  },
}
SCSS
$custom: #18541c;
$custom-light: #5e855a;
$custom-dark: #000000;
JSON
{
  "hex": "#18541c",
  "rgb": {
    "r": 24,
    "g": 84,
    "b": 28
  },
  "hsl": {
    "h": 124,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.39387,
    "c": 0.10664,
    "h": 144.2
  },
  "luminance": 0.06619
}

Semantic roles & 50–950 ramp

primary
#18541C
secondary
#8B3D86
accent
#49D5DF
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #18541C

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

Preview Lab → · Contrast checker → · Palette generator →

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