#18541E#18541E

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

Color values

HEX#18541E
RGBrgb(24, 84, 30)
HSLhsl(126, 56%, 21%)
HSVhsv(126, 71%, 33%)
CMYKcmyk(71.4%, 0%, 64.3%, 67.1%)
CIE-LABlab(30.95, -31.66, 25.59)
CIE-LCHlch(30.95, 40.71, 141.06°)
OKLaboklab(39.41% -0.0857 0.0604)
OKLCHoklch(39.41% 0.105 144.8)
XYZxyz(3.7811, 6.6282, 2.3081)
Luminance0.0663 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18541E #54184E
analogous
#305418 #18541E #18543C
triadic
#18541E #1E1854 #541E18
tetradic
#18541E #183054 #54184E #543C18
square
#18541E #183054 #54184E #543C18
split-complementary
#18541E #3C1854 #541830
monochromatic
#071808 #0A240D #18541E #26842F #33B340

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18541E#FFFFFF#000000##FFFFFF
##18541E1.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)
#564C18
Deuteranopia (green-blind)
#4E4722
Tritanopia (blue-blind)
#085248
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #18541e;
/* rgb */ color: rgb(24, 84, 30);
/* oklch */ color: oklch(39.4% 0.105 144.8);
Tailwind
colors: {
  custom: {
    50: '#5e855c',
    500: '#18541e',
    950: '#000000',
  },
}
SCSS
$custom: #18541e;
$custom-light: #5e855c;
$custom-dark: #000000;
JSON
{
  "hex": "#18541e",
  "rgb": {
    "r": 24,
    "g": 84,
    "b": 30
  },
  "hsl": {
    "h": 126,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.39414,
    "c": 0.10481,
    "h": 144.8
  },
  "luminance": 0.06629
}

Semantic roles & 50–950 ramp

primary
#18541E
secondary
#8B3D83
accent
#49D0DF
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #18541E

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

Preview Lab → · Contrast checker → · Palette generator →

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