#18541A#18541A

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

Color values

HEX#18541A
RGBrgb(24, 84, 26)
HSLhsl(122, 56%, 21%)
HSVhsv(122, 71%, 33%)
CMYKcmyk(71.4%, 0%, 69%, 67.1%)
CIE-LABlab(30.90, -32.19, 27.60)
CIE-LCHlch(30.90, 42.41, 139.39°)
OKLaboklab(39.36% -0.0873 0.0643)
OKLCHoklch(39.36% 0.108 143.6)
XYZxyz(3.7332, 6.6090, 2.0560)
Luminance0.0661 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18541A #541852
analogous
#345418 #18541A #185438
triadic
#18541A #1A1854 #541A18
tetradic
#18541A #183454 #541852 #543818
square
#18541A #183454 #541852 #543818
split-complementary
#18541A #381854 #541834
monochromatic
#071807 #0A240B #18541A #268429 #33B337

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18541A#FFFFFF#000000##FFFFFF
##18541A1.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)
#564C13
Deuteranopia (green-blind)
#4F471F
Tritanopia (blue-blind)
#095248
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #18541a;
/* rgb */ color: rgb(24, 84, 26);
/* oklch */ color: oklch(39.4% 0.108 143.6);
Tailwind
colors: {
  custom: {
    50: '#5e8559',
    500: '#18541a',
    950: '#000000',
  },
}
SCSS
$custom: #18541a;
$custom-light: #5e8559;
$custom-dark: #000000;
JSON
{
  "hex": "#18541a",
  "rgb": {
    "r": 24,
    "g": 84,
    "b": 26
  },
  "hsl": {
    "h": 122,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.39362,
    "c": 0.10841,
    "h": 143.6
  },
  "luminance": 0.06609
}

Semantic roles & 50–950 ramp

primary
#18541A
secondary
#8B3D88
accent
#49DADF
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #18541A

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

Preview Lab → · Contrast checker → · Palette generator →

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