#18400E#18400E

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

Color values

HEX#18400E
RGBrgb(24, 64, 14)
HSLhsl(108, 64%, 15%)
HSVhsv(108, 78%, 25%)
CMYKcmyk(62.5%, 0%, 78.1%, 74.9%)
CIE-LABlab(23.31, -25.05, 25.26)
CIE-LCHlch(23.31, 35.58, 134.76°)
OKLaboklab(33.06% -0.0687 0.0577)
OKLCHoklch(33.06% 0.09 140)
XYZxyz(2.2893, 3.8925, 1.0461)
Luminance0.0389 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18400E #360E40
analogous
#31400E #18400E #0E401D
triadic
#18400E #0E1840 #400E18
tetradic
#18400E #0E3140 #360E40 #401D0E
square
#18400E #0E3140 #360E40 #401D0E
split-complementary
#18400E #1D0E40 #400E31
monochromatic
#091905 #091905 #18400E #2B7219 #3EA424

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18400E#FFFFFF#000000##FFFFFF
##18400E1.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)
#423A07
Deuteranopia (green-blind)
#3D3613
Tritanopia (blue-blind)
#133E36
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #18400e;
/* rgb */ color: rgb(24, 64, 14);
/* oklch */ color: oklch(33.1% 0.090 140.0);
Tailwind
colors: {
  custom: {
    50: '#5a754f',
    500: '#18400e',
    950: '#000000',
  },
}
SCSS
$custom: #18400e;
$custom-light: #5a754f;
$custom-dark: #000000;
JSON
{
  "hex": "#18400e",
  "rgb": {
    "r": 24,
    "g": 64,
    "b": 14
  },
  "hsl": {
    "h": 108,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.33057,
    "c": 0.08978,
    "h": 140
  },
  "luminance": 0.03893
}

Semantic roles & 50–950 ramp

primary
#18400E
secondary
#6C2F7B
accent
#41E7C6
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #18400E

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

Preview Lab → · Contrast checker → · Palette generator →

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