#18542B#18542B

#18542B is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.6% C 0.092 H 150.3°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#18542B
RGBrgb(24, 84, 43)
HSLhsl(139, 56%, 21%)
HSVhsv(139, 71%, 33%)
CMYKcmyk(71.4%, 0%, 48.8%, 67.1%)
CIE-LABlab(31.13, -29.50, 18.47)
CIE-LCHlch(31.13, 34.81, 147.95°)
OKLaboklab(39.63% -0.0796 0.0454)
OKLCHoklch(39.63% 0.092 150.3)
XYZxyz(3.9827, 6.7088, 3.3701)
Luminance0.0671 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18542B #541841
analogous
#235418 #18542B #185449
triadic
#18542B #2B1854 #542B18
tetradic
#18542B #182354 #541841 #544918
square
#18542B #182354 #541841 #544918
split-complementary
#18542B #491854 #541823
monochromatic
#07180C #0A2413 #18542B #268443 #33B35C

Accessibility & contrast

On white

8.97
#18542B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#18542B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18542B
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18542B#FFFFFF#000000##FFFFFF
##18542B1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C28
Deuteranopia (green-blind)
#4D472E
Tritanopia (blue-blind)
#01524A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #18542b;
/* rgb */ color: rgb(24, 84, 43);
/* oklch */ color: oklch(39.6% 0.092 150.3);
Tailwind
colors: {
  custom: {
    50: '#5d8565',
    500: '#18542b',
    950: '#000000',
  },
}
SCSS
$custom: #18542b;
$custom-light: #5d8565;
$custom-dark: #000000;
JSON
{
  "hex": "#18542b",
  "rgb": {
    "r": 24,
    "g": 84,
    "b": 43
  },
  "hsl": {
    "h": 139,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.39632,
    "c": 0.0916,
    "h": 150.3
  },
  "luminance": 0.06709
}

Semantic roles & 50–950 ramp

primary
#18542B
secondary
#8B3D72
accent
#49AFDF
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#050B05
muted
#797C7A

Preview Lab

Preview with #18542B

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

Preview Lab → · Contrast checker → · Palette generator →

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