#18401E#18401E

#18401E is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.3% C 0.074 H 146.7°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#18401E
RGBrgb(24, 64, 30)
HSLhsl(129, 45%, 17%)
HSVhsv(129, 63%, 25%)
CMYKcmyk(62.5%, 0%, 53.1%, 74.9%)
CIE-LABlab(23.52, -22.76, 16.61)
CIE-LCHlch(23.52, 28.18, 143.89°)
OKLaboklab(33.3% -0.0617 0.0405)
OKLCHoklch(33.3% 0.074 146.7)
XYZxyz(2.4443, 3.9545, 1.8625)
Luminance0.0396 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18401E #40183A
analogous
#264018 #18401E #184032
triadic
#18401E #1E1840 #401E18
tetradic
#18401E #182640 #40183A #403218
square
#18401E #182640 #40183A #403218
split-complementary
#18401E #321840 #401826
monochromatic
#08160A #08160A #18401E #296D33 #399948

Accessibility & contrast

On white

11.73
#18401E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18401E
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18401E#FFFFFF#000000##FFFFFF
##18401E1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A1B
Deuteranopia (green-blind)
#3C3720
Tritanopia (blue-blind)
#103E38
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #18401e;
/* rgb */ color: rgb(24, 64, 30);
/* oklch */ color: oklch(33.3% 0.074 146.7);
Tailwind
colors: {
  custom: {
    50: '#59755a',
    500: '#18401e',
    950: '#000000',
  },
}
SCSS
$custom: #18401e;
$custom-light: #59755a;
$custom-dark: #000000;
JSON
{
  "hex": "#18401e",
  "rgb": {
    "r": 24,
    "g": 64,
    "b": 30
  },
  "hsl": {
    "h": 129,
    "s": 45.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.33295,
    "c": 0.07379,
    "h": 146.7
  },
  "luminance": 0.03955
}

Semantic roles & 50–950 ramp

primary
#18401E
secondary
#773D6E
accent
#53C2D5
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#040804
muted
#797B79

Preview Lab

Preview with #18401E

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

Preview Lab → · Contrast checker → · Palette generator →

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