#18340D#18340D

#18340D is a dark, moderate green. Relative luminance 0.027; OKLCH L 29.3% C 0.072 H 138.0°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#18340D
RGBrgb(24, 52, 13)
HSLhsl(103, 60%, 13%)
HSVhsv(103, 75%, 20%)
CMYKcmyk(53.8%, 0%, 75%, 79.6%)
CIE-LABlab(18.71, -19.44, 20.68)
CIE-LCHlch(18.71, 28.38, 133.22°)
OKLaboklab(29.27% -0.0536 0.0482)
OKLCHoklch(29.27% 0.072 138)
XYZxyz(1.6773, 2.6791, 0.8094)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18340D #290D34
analogous
#2B340D #18340D #0D3415
triadic
#18340D #0D1834 #340D18
tetradic
#18340D #0D2B34 #290D34 #34150D
square
#18340D #0D2B34 #290D34 #34150D
split-complementary
#18340D #150D34 #340D2B
monochromatic
#0B1806 #0B1806 #18340D #2F6519 #459625

Accessibility & contrast

On white

13.67
#18340D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#18340D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18340D
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18340D#FFFFFF#000000##FFFFFF
##18340D1.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F08
Deuteranopia (green-blind)
#322D10
Tritanopia (blue-blind)
#16322C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #18340d;
/* rgb */ color: rgb(24, 52, 13);
/* oklch */ color: oklch(29.3% 0.072 138.0);
Tailwind
colors: {
  custom: {
    50: '#586c4d',
    500: '#18340d',
    950: '#000000',
  },
}
SCSS
$custom: #18340d;
$custom-light: #586c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#18340d",
  "rgb": {
    "r": 24,
    "g": 52,
    "b": 13
  },
  "hsl": {
    "h": 103.077,
    "s": 60,
    "l": 12.745
  },
  "oklch": {
    "l": 0.29269,
    "c": 0.07208,
    "h": 138
  },
  "luminance": 0.02679
}

Semantic roles & 50–950 ramp

primary
#18340D
secondary
#5D2D6F
accent
#45E3B6
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030701
muted
#787A77

Preview Lab

Preview with #18340D

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

Preview Lab → · Contrast checker → · Palette generator →

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