#18340A#18340A

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

Color values

HEX#18340A
RGBrgb(24, 52, 10)
HSLhsl(100, 68%, 12%)
HSVhsv(100, 81%, 20%)
CMYKcmyk(53.8%, 0%, 80.8%, 79.6%)
CIE-LABlab(18.68, -19.77, 21.97)
CIE-LCHlch(18.68, 29.56, 131.98°)
OKLaboklab(29.23% -0.0547 0.051)
OKLCHoklch(29.23% 0.075 137)
XYZxyz(1.6594, 2.6720, 0.7154)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18340A #260A34
analogous
#2D340A #18340A #0A3411
triadic
#18340A #0A1834 #340A18
tetradic
#18340A #0A2D34 #260A34 #34110A
square
#18340A #0A2D34 #260A34 #34110A
split-complementary
#18340A #110A34 #340A2D
monochromatic
#0C1A05 #0C1A05 #18340A #306714 #479B1E

Accessibility & contrast

On white

13.69
#18340A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18340A
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18340A#FFFFFF#000000##FFFFFF
##18340A1.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18340a;
/* rgb */ color: rgb(24, 52, 10);
/* oklch */ color: oklch(29.2% 0.075 137.0);
Tailwind
colors: {
  custom: {
    50: '#586c4c',
    500: '#18340a',
    950: '#000000',
  },
}
SCSS
$custom: #18340a;
$custom-light: #586c4c;
$custom-dark: #000000;
JSON
{
  "hex": "#18340a",
  "rgb": {
    "r": 24,
    "g": 52,
    "b": 10
  },
  "hsl": {
    "h": 100,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.29234,
    "c": 0.0748,
    "h": 137
  },
  "luminance": 0.02672
}

Semantic roles & 50–950 ramp

primary
#18340A
secondary
#592871
accent
#3DEBB1
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030701
muted
#787A77

Preview Lab

Preview with #18340A

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

Preview Lab → · Contrast checker → · Palette generator →

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