#18340E#18340E

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

Color values

HEX#18340E
RGBrgb(24, 52, 14)
HSLhsl(104, 58%, 13%)
HSVhsv(104, 73%, 20%)
CMYKcmyk(53.8%, 0%, 73.1%, 79.6%)
CIE-LABlab(18.72, -19.32, 20.20)
CIE-LCHlch(18.72, 27.95, 133.72°)
OKLaboklab(29.28% -0.0532 0.0472)
OKLCHoklch(29.28% 0.071 138.4)
XYZxyz(1.6839, 2.6818, 0.8443)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18340E #2A0E34
analogous
#2B340E #18340E #0E3417
triadic
#18340E #0E1834 #340E18
tetradic
#18340E #0E2B34 #2A0E34 #34170E
square
#18340E #0E2B34 #2A0E34 #34170E
split-complementary
#18340E #170E34 #340E2B
monochromatic
#0B1806 #0B1806 #18340E #2E641B #459428

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18340E#FFFFFF#000000##FFFFFF
##18340E1.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)
#362F0A
Deuteranopia (green-blind)
#322D11
Tritanopia (blue-blind)
#16322C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #18340e;
/* rgb */ color: rgb(24, 52, 14);
/* oklch */ color: oklch(29.3% 0.071 138.4);
Tailwind
colors: {
  custom: {
    50: '#586c4e',
    500: '#18340e',
    950: '#000000',
  },
}
SCSS
$custom: #18340e;
$custom-light: #586c4e;
$custom-dark: #000000;
JSON
{
  "hex": "#18340e",
  "rgb": {
    "r": 24,
    "g": 52,
    "b": 14
  },
  "hsl": {
    "h": 104.211,
    "s": 57.576,
    "l": 12.941
  },
  "oklch": {
    "l": 0.29282,
    "c": 0.07111,
    "h": 138.4
  },
  "luminance": 0.02682
}

Semantic roles & 50–950 ramp

primary
#18340E
secondary
#5E2F6F
accent
#47E1B8
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030701
muted
#787A77

Preview Lab

Preview with #18340E

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

Preview Lab → · Contrast checker → · Palette generator →

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