#18542F#18542F

#18542F is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.7% C 0.087 H 152.6°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#18542F
RGBrgb(24, 84, 47)
HSLhsl(143, 56%, 21%)
HSVhsv(143, 71%, 33%)
CMYKcmyk(71.4%, 0%, 44%, 67.1%)
CIE-LABlab(31.21, -28.70, 16.17)
CIE-LCHlch(31.21, 32.94, 150.60°)
OKLaboklab(39.72% -0.0775 0.0402)
OKLCHoklch(39.72% 0.087 152.6)
XYZxyz(4.0598, 6.7396, 3.7757)
Luminance0.0674 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18542F #54183D
analogous
#1F5418 #18542F #18544D
triadic
#18542F #2F1854 #542F18
tetradic
#18542F #181F54 #54183D #544D18
square
#18542F #181F54 #54183D #544D18
split-complementary
#18542F #4D1854 #54181F
monochromatic
#07180D #0A2414 #18542F #26844A #33B364

Accessibility & contrast

On white

8.94
#18542F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#18542F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18542F
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18542F#FFFFFF#000000##FFFFFF
##18542F1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544D2C
Deuteranopia (green-blind)
#4C4731
Tritanopia (blue-blind)
#00534B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #18542f;
/* rgb */ color: rgb(24, 84, 47);
/* oklch */ color: oklch(39.7% 0.087 152.6);
Tailwind
colors: {
  custom: {
    50: '#5d8568',
    500: '#18542f',
    950: '#000000',
  },
}
SCSS
$custom: #18542f;
$custom-light: #5d8568;
$custom-dark: #000000;
JSON
{
  "hex": "#18542f",
  "rgb": {
    "r": 24,
    "g": 84,
    "b": 47
  },
  "hsl": {
    "h": 143,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.39715,
    "c": 0.08729,
    "h": 152.6
  },
  "luminance": 0.0674
}

Semantic roles & 50–950 ramp

primary
#18542F
secondary
#8B3D6D
accent
#49A5DF
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#050B06
muted
#797C7A

Preview Lab

Preview with #18542F

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

Preview Lab → · Contrast checker → · Palette generator →

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