#18340F#18340F

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

Color values

HEX#18340F
RGBrgb(24, 52, 15)
HSLhsl(105, 55%, 13%)
HSVhsv(105, 71%, 20%)
CMYKcmyk(53.8%, 0%, 71.2%, 79.6%)
CIE-LABlab(18.73, -19.19, 19.70)
CIE-LCHlch(18.73, 27.50, 134.25°)
OKLaboklab(29.3% -0.0528 0.0462)
OKLCHoklch(29.3% 0.07 138.8)
XYZxyz(1.6908, 2.6846, 0.8809)
Luminance0.0268 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18340F #2B0F34
analogous
#2A340F #18340F #0F3418
triadic
#18340F #0F1834 #340F18
tetradic
#18340F #0F2A34 #2B0F34 #34180F
square
#18340F #0F2A34 #2B0F34 #34180F
split-complementary
#18340F #180F34 #340F2A
monochromatic
#0B1807 #0B1807 #18340F #2E631D #44932A

Accessibility & contrast

On white

13.66
#18340F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18340F
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18340F#FFFFFF#000000##FFFFFF
##18340F1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18340f;
/* rgb */ color: rgb(24, 52, 15);
/* oklch */ color: oklch(29.3% 0.070 138.8);
Tailwind
colors: {
  custom: {
    50: '#586c4f',
    500: '#18340f',
    950: '#000000',
  },
}
SCSS
$custom: #18340f;
$custom-light: #586c4f;
$custom-dark: #000000;
JSON
{
  "hex": "#18340f",
  "rgb": {
    "r": 24,
    "g": 52,
    "b": 15
  },
  "hsl": {
    "h": 105.405,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.29296,
    "c": 0.07011,
    "h": 138.8
  },
  "luminance": 0.02685
}

Semantic roles & 50–950 ramp

primary
#18340F
secondary
#5F316E
accent
#49DFBA
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030702
muted
#787A78

Preview Lab

Preview with #18340F

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

Preview Lab → · Contrast checker → · Palette generator →

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