#18401A#18401A

#18401A is a dark, moderate green. Relative luminance 0.039; OKLCH L 33.2% C 0.078 H 144.5°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#18401A
RGBrgb(24, 64, 26)
HSLhsl(123, 45%, 17%)
HSVhsv(123, 63%, 25%)
CMYKcmyk(62.5%, 0%, 59.4%, 74.9%)
CIE-LABlab(23.46, -23.46, 18.94)
CIE-LCHlch(23.46, 30.15, 141.09°)
OKLaboklab(33.22% -0.0637 0.0455)
OKLCHoklch(33.22% 0.078 144.5)
XYZxyz(2.3964, 3.9354, 1.6104)
Luminance0.0394 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18401A #40183E
analogous
#2A4018 #18401A #18402E
triadic
#18401A #1A1840 #401A18
tetradic
#18401A #182A40 #40183E #402E18
square
#18401A #182A40 #40183E #402E18
split-complementary
#18401A #2E1840 #40182A
monochromatic
#081609 #081609 #18401A #296D2C #39993E

Accessibility & contrast

On white

11.75
#18401A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#18401A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18401A
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18401A#FFFFFF#000000##FFFFFF
##18401A1.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A17
Deuteranopia (green-blind)
#3C361D
Tritanopia (blue-blind)
#113E37
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #18401a;
/* rgb */ color: rgb(24, 64, 26);
/* oklch */ color: oklch(33.2% 0.078 144.5);
Tailwind
colors: {
  custom: {
    50: '#597557',
    500: '#18401a',
    950: '#000000',
  },
}
SCSS
$custom: #18401a;
$custom-light: #597557;
$custom-dark: #000000;
JSON
{
  "hex": "#18401a",
  "rgb": {
    "r": 24,
    "g": 64,
    "b": 26
  },
  "hsl": {
    "h": 123,
    "s": 45.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.33222,
    "c": 0.07825,
    "h": 144.5
  },
  "luminance": 0.03936
}

Semantic roles & 50–950 ramp

primary
#18401A
secondary
#773D74
accent
#53CFD5
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#040803
muted
#797B78

Preview Lab

Preview with #18401A

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

Preview Lab → · Contrast checker → · Palette generator →

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