#18400A#18400A

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

Color values

HEX#18400A
RGBrgb(24, 64, 10)
HSLhsl(104, 73%, 15%)
HSVhsv(104, 84%, 25%)
CMYKcmyk(62.5%, 0%, 84.4%, 74.9%)
CIE-LABlab(23.28, -25.43, 27.02)
CIE-LCHlch(23.28, 37.10, 133.26°)
OKLaboklab(33.02% -0.07 0.0608)
OKLCHoklch(33.02% 0.093 139)
XYZxyz(2.2648, 3.8827, 0.9172)
Luminance0.0388 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18400A #320A40
analogous
#33400A #18400A #0A4017
triadic
#18400A #0A1840 #400A18
tetradic
#18400A #0A3340 #320A40 #40170A
square
#18400A #0A3340 #320A40 #40170A
split-complementary
#18400A #170A40 #400A33
monochromatic
#0A1A04 #0A1A04 #18400A #2C7512 #40AA1B

Accessibility & contrast

On white

11.82
#18400A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18400A
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18400A#FFFFFF#000000##FFFFFF
##18400A1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A02
Deuteranopia (green-blind)
#3D3610
Tritanopia (blue-blind)
#143E36
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #18400a;
/* rgb */ color: rgb(24, 64, 10);
/* oklch */ color: oklch(33.0% 0.093 139.0);
Tailwind
colors: {
  custom: {
    50: '#5a754d',
    500: '#18400a',
    950: '#000000',
  },
}
SCSS
$custom: #18400a;
$custom-light: #5a754d;
$custom-dark: #000000;
JSON
{
  "hex": "#18400a",
  "rgb": {
    "r": 24,
    "g": 64,
    "b": 10
  },
  "hsl": {
    "h": 104.444,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.33019,
    "c": 0.09275,
    "h": 139
  },
  "luminance": 0.03883
}

Semantic roles & 50–950 ramp

primary
#18400A
secondary
#67297D
accent
#38F0C0
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #18400A

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

Preview Lab → · Contrast checker → · Palette generator →

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