#18401B#18401B

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

Color values

HEX#18401B
RGBrgb(24, 64, 27)
HSLhsl(125, 45%, 17%)
HSVhsv(125, 63%, 25%)
CMYKcmyk(62.5%, 0%, 57.8%, 74.9%)
CIE-LABlab(23.47, -23.29, 18.36)
CIE-LCHlch(23.47, 29.66, 141.75°)
OKLaboklab(33.24% -0.0632 0.0443)
OKLCHoklch(33.24% 0.077 145)
XYZxyz(2.4078, 3.9399, 1.6703)
Luminance0.0394 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18401B #40183D
analogous
#294018 #18401B #18402F
triadic
#18401B #1B1840 #401B18
tetradic
#18401B #182940 #40183D #402F18
square
#18401B #182940 #40183D #402F18
split-complementary
#18401B #2F1840 #401829
monochromatic
#081609 #081609 #18401B #296D2E #399941

Accessibility & contrast

On white

11.74
#18401B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18401B
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18401B#FFFFFF#000000##FFFFFF
##18401B1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18401b;
/* rgb */ color: rgb(24, 64, 27);
/* oklch */ color: oklch(33.2% 0.077 145.0);
Tailwind
colors: {
  custom: {
    50: '#597558',
    500: '#18401b',
    950: '#000000',
  },
}
SCSS
$custom: #18401b;
$custom-light: #597558;
$custom-dark: #000000;
JSON
{
  "hex": "#18401b",
  "rgb": {
    "r": 24,
    "g": 64,
    "b": 27
  },
  "hsl": {
    "h": 124.5,
    "s": 45.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.33239,
    "c": 0.07715,
    "h": 145
  },
  "luminance": 0.0394
}

Semantic roles & 50–950 ramp

primary
#18401B
secondary
#773D72
accent
#53CBD5
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#040803
muted
#797B78

Preview Lab

Preview with #18401B

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

Preview Lab → · Contrast checker → · Palette generator →

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