#18401C#18401C

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

Color values

HEX#18401C
RGBrgb(24, 64, 28)
HSLhsl(126, 45%, 17%)
HSVhsv(126, 63%, 25%)
CMYKcmyk(62.5%, 0%, 56.2%, 74.9%)
CIE-LABlab(23.49, -23.12, 17.78)
CIE-LCHlch(23.49, 29.17, 142.44°)
OKLaboklab(33.26% -0.0627 0.0431)
OKLCHoklch(33.26% 0.076 145.5)
XYZxyz(2.4195, 3.9446, 1.7323)
Luminance0.0394 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18401C #40183C
analogous
#284018 #18401C #184030
triadic
#18401C #1C1840 #401C18
tetradic
#18401C #182840 #40183C #403018
square
#18401C #182840 #40183C #403018
split-complementary
#18401C #301840 #401828
monochromatic
#08160A #08160A #18401C #296D2F #399943

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18401C#FFFFFF#000000##FFFFFF
##18401C1.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)
#413A19
Deuteranopia (green-blind)
#3C371F
Tritanopia (blue-blind)
#113E38
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #18401c;
/* rgb */ color: rgb(24, 64, 28);
/* oklch */ color: oklch(33.3% 0.076 145.5);
Tailwind
colors: {
  custom: {
    50: '#597559',
    500: '#18401c',
    950: '#000000',
  },
}
SCSS
$custom: #18401c;
$custom-light: #597559;
$custom-dark: #000000;
JSON
{
  "hex": "#18401c",
  "rgb": {
    "r": 24,
    "g": 64,
    "b": 28
  },
  "hsl": {
    "h": 126,
    "s": 45.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.33257,
    "c": 0.07604,
    "h": 145.5
  },
  "luminance": 0.03945
}

Semantic roles & 50–950 ramp

primary
#18401C
secondary
#773D71
accent
#53C8D5
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#040803
muted
#797B78

Preview Lab

Preview with #18401C

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

Preview Lab → · Contrast checker → · Palette generator →

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