#18400F#18400F

#18400F is a dark, moderate green. Relative luminance 0.039; OKLCH L 33.1% C 0.089 H 140.2°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#18400F
RGBrgb(24, 64, 15)
HSLhsl(109, 62%, 15%)
HSVhsv(109, 77%, 25%)
CMYKcmyk(62.5%, 0%, 76.6%, 74.9%)
CIE-LABlab(23.32, -24.95, 24.79)
CIE-LCHlch(23.32, 35.17, 135.19°)
OKLaboklab(33.07% -0.0684 0.0569)
OKLCHoklch(33.07% 0.089 140.2)
XYZxyz(2.2962, 3.8953, 1.0827)
Luminance0.0389 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18400F #370F40
analogous
#30400F #18400F #0F401E
triadic
#18400F #0F1840 #400F18
tetradic
#18400F #0F3040 #370F40 #401E0F
square
#18400F #0F3040 #370F40 #401E0F
split-complementary
#18400F #1E0F40 #400F30
monochromatic
#091906 #091906 #18400F #2B721B #3DA326

Accessibility & contrast

On white

11.80
#18400F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18400F
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18400F#FFFFFF#000000##FFFFFF
##18400F1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A08
Deuteranopia (green-blind)
#3D3613
Tritanopia (blue-blind)
#133E36
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #18400f;
/* rgb */ color: rgb(24, 64, 15);
/* oklch */ color: oklch(33.1% 0.089 140.2);
Tailwind
colors: {
  custom: {
    50: '#5a7550',
    500: '#18400f',
    950: '#000000',
  },
}
SCSS
$custom: #18400f;
$custom-light: #5a7550;
$custom-dark: #000000;
JSON
{
  "hex": "#18400f",
  "rgb": {
    "r": 24,
    "g": 64,
    "b": 15
  },
  "hsl": {
    "h": 108.98,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.33068,
    "c": 0.08896,
    "h": 140.2
  },
  "luminance": 0.03895
}

Semantic roles & 50–950 ramp

primary
#18400F
secondary
#6D307A
accent
#43E5C7
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #18400F

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

Preview Lab → · Contrast checker → · Palette generator →

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