#18542E#18542E

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

Color values

HEX#18542E
RGBrgb(24, 84, 46)
HSLhsl(142, 56%, 21%)
HSVhsv(142, 71%, 33%)
CMYKcmyk(71.4%, 0%, 45.2%, 67.1%)
CIE-LABlab(31.19, -28.90, 16.75)
CIE-LCHlch(31.19, 33.41, 149.91°)
OKLaboklab(39.69% -0.078 0.0415)
OKLCHoklch(39.69% 0.088 152)
XYZxyz(4.0398, 6.7317, 3.6707)
Luminance0.0673 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18542E #54183E
analogous
#205418 #18542E #18544C
triadic
#18542E #2E1854 #542E18
tetradic
#18542E #182054 #54183E #544C18
square
#18542E #182054 #54183E #544C18
split-complementary
#18542E #4C1854 #541820
monochromatic
#07180D #0A2414 #18542E #268448 #33B362

Accessibility & contrast

On white

8.95
#18542E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18542E
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18542E#FFFFFF#000000##FFFFFF
##18542E1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18542e;
/* rgb */ color: rgb(24, 84, 46);
/* oklch */ color: oklch(39.7% 0.088 152.0);
Tailwind
colors: {
  custom: {
    50: '#5d8567',
    500: '#18542e',
    950: '#000000',
  },
}
SCSS
$custom: #18542e;
$custom-light: #5d8567;
$custom-dark: #000000;
JSON
{
  "hex": "#18542e",
  "rgb": {
    "r": 24,
    "g": 84,
    "b": 46
  },
  "hsl": {
    "h": 142,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.39693,
    "c": 0.08837,
    "h": 152
  },
  "luminance": 0.06732
}

Semantic roles & 50–950 ramp

primary
#18542E
secondary
#8B3D6E
accent
#49A8DF
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#050B06
muted
#797C7A

Preview Lab

Preview with #18542E

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

Preview Lab → · Contrast checker → · Palette generator →

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