#18400D#18400D

#18400D is a dark, moderate green. Relative luminance 0.039; OKLCH L 33.0% C 0.091 H 139.7°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#18400D
RGBrgb(24, 64, 13)
HSLhsl(107, 66%, 15%)
HSVhsv(107, 80%, 25%)
CMYKcmyk(62.5%, 0%, 79.7%, 74.9%)
CIE-LABlab(23.30, -25.16, 25.73)
CIE-LCHlch(23.30, 35.98, 134.36°)
OKLaboklab(33.05% -0.0691 0.0586)
OKLCHoklch(33.05% 0.091 139.7)
XYZxyz(2.2826, 3.8899, 1.0112)
Luminance0.0389 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18400D #350D40
analogous
#31400D #18400D #0D401C
triadic
#18400D #0D1840 #400D18
tetradic
#18400D #0D3140 #350D40 #401C0D
square
#18400D #0D3140 #350D40 #401C0D
split-complementary
#18400D #1C0D40 #400D31
monochromatic
#0A1905 #0A1905 #18400D #2B7317 #3EA622

Accessibility & contrast

On white

11.81
#18400D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#18400D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18400D
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18400D#FFFFFF#000000##FFFFFF
##18400D1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A06
Deuteranopia (green-blind)
#3D3612
Tritanopia (blue-blind)
#143E36
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #18400d;
/* rgb */ color: rgb(24, 64, 13);
/* oklch */ color: oklch(33.0% 0.091 139.7);
Tailwind
colors: {
  custom: {
    50: '#5a754f',
    500: '#18400d',
    950: '#000000',
  },
}
SCSS
$custom: #18400d;
$custom-light: #5a754f;
$custom-dark: #000000;
JSON
{
  "hex": "#18400d",
  "rgb": {
    "r": 24,
    "g": 64,
    "b": 13
  },
  "hsl": {
    "h": 107.059,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33047,
    "c": 0.09057,
    "h": 139.7
  },
  "luminance": 0.0389
}

Semantic roles & 50–950 ramp

primary
#18400D
secondary
#6B2D7C
accent
#3FE9C4
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #18400D

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

Preview Lab → · Contrast checker → · Palette generator →

#18400D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva