#18340B#18340B

#18340B is a dark, moderate green. Relative luminance 0.027; OKLCH L 29.2% C 0.074 H 137.4°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#18340B
RGBrgb(24, 52, 11)
HSLhsl(101, 65%, 12%)
HSVhsv(101, 79%, 20%)
CMYKcmyk(53.8%, 0%, 78.8%, 79.6%)
CIE-LABlab(18.69, -19.66, 21.57)
CIE-LCHlch(18.69, 29.19, 132.36°)
OKLaboklab(29.24% -0.0544 0.0501)
OKLCHoklch(29.24% 0.074 137.4)
XYZxyz(1.6650, 2.6742, 0.7450)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18340B #270B34
analogous
#2C340B #18340B #0B3413
triadic
#18340B #0B1834 #340B18
tetradic
#18340B #0B2C34 #270B34 #34130B
square
#18340B #0B2C34 #270B34 #34130B
split-complementary
#18340B #130B34 #340B2C
monochromatic
#0C1905 #0C1905 #18340B #2F6716 #479920

Accessibility & contrast

On white

13.68
#18340B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#18340B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18340B
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18340B#FFFFFF#000000##FFFFFF
##18340B1.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F06
Deuteranopia (green-blind)
#322D0F
Tritanopia (blue-blind)
#16322C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #18340b;
/* rgb */ color: rgb(24, 52, 11);
/* oklch */ color: oklch(29.2% 0.074 137.4);
Tailwind
colors: {
  custom: {
    50: '#586c4c',
    500: '#18340b',
    950: '#000000',
  },
}
SCSS
$custom: #18340b;
$custom-light: #586c4c;
$custom-dark: #000000;
JSON
{
  "hex": "#18340b",
  "rgb": {
    "r": 24,
    "g": 52,
    "b": 11
  },
  "hsl": {
    "h": 100.976,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.29245,
    "c": 0.07393,
    "h": 137.4
  },
  "luminance": 0.02674
}

Semantic roles & 50–950 ramp

primary
#18340B
secondary
#5A2A71
accent
#40E8B3
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030701
muted
#787A77

Preview Lab

Preview with #18340B

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

Preview Lab → · Contrast checker → · Palette generator →

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