#18400C#18400C

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

Color values

HEX#18400C
RGBrgb(24, 64, 12)
HSLhsl(106, 68%, 15%)
HSVhsv(106, 81%, 25%)
CMYKcmyk(62.5%, 0%, 81.2%, 74.9%)
CIE-LABlab(23.30, -25.25, 26.18)
CIE-LCHlch(23.30, 36.37, 133.97°)
OKLaboklab(33.04% -0.0694 0.0593)
OKLCHoklch(33.04% 0.091 139.5)
XYZxyz(2.2764, 3.8873, 0.9781)
Luminance0.0389 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18400C #340C40
analogous
#32400C #18400C #0C401A
triadic
#18400C #0C1840 #400C18
tetradic
#18400C #0C3240 #340C40 #401A0C
square
#18400C #0C3240 #340C40 #401A0C
split-complementary
#18400C #1A0C40 #400C32
monochromatic
#0A1A05 #0A1A05 #18400C #2B7416 #3FA71F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18400C#FFFFFF#000000##FFFFFF
##18400C1.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)
#423A04
Deuteranopia (green-blind)
#3D3611
Tritanopia (blue-blind)
#143E36
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #18400c;
/* rgb */ color: rgb(24, 64, 12);
/* oklch */ color: oklch(33.0% 0.091 139.5);
Tailwind
colors: {
  custom: {
    50: '#5a754e',
    500: '#18400c',
    950: '#000000',
  },
}
SCSS
$custom: #18400c;
$custom-light: #5a754e;
$custom-dark: #000000;
JSON
{
  "hex": "#18400c",
  "rgb": {
    "r": 24,
    "g": 64,
    "b": 12
  },
  "hsl": {
    "h": 106.154,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33037,
    "c": 0.09133,
    "h": 139.5
  },
  "luminance": 0.03888
}

Semantic roles & 50–950 ramp

primary
#18400C
secondary
#6A2C7C
accent
#3DEBC3
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #18400C

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

Preview Lab → · Contrast checker → · Palette generator →

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