#18340C#18340C

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

Color values

HEX#18340C
RGBrgb(24, 52, 12)
HSLhsl(102, 63%, 13%)
HSVhsv(102, 77%, 20%)
CMYKcmyk(53.8%, 0%, 76.9%, 79.6%)
CIE-LABlab(18.70, -19.55, 21.14)
CIE-LCHlch(18.70, 28.79, 132.77°)
OKLaboklab(29.26% -0.054 0.0492)
OKLCHoklch(29.26% 0.073 137.7)
XYZxyz(1.6710, 2.6766, 0.7763)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18340C #280C34
analogous
#2C340C #18340C #0C3414
triadic
#18340C #0C1834 #340C18
tetradic
#18340C #0C2C34 #280C34 #34140C
square
#18340C #0C2C34 #280C34 #34140C
split-complementary
#18340C #140C34 #340C2C
monochromatic
#0B1906 #0B1906 #18340C #2F6617 #469723

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18340C#FFFFFF#000000##FFFFFF
##18340C1.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18340c;
/* rgb */ color: rgb(24, 52, 12);
/* oklch */ color: oklch(29.3% 0.073 137.7);
Tailwind
colors: {
  custom: {
    50: '#586c4d',
    500: '#18340c',
    950: '#000000',
  },
}
SCSS
$custom: #18340c;
$custom-light: #586c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#18340c",
  "rgb": {
    "r": 24,
    "g": 52,
    "b": 12
  },
  "hsl": {
    "h": 102,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.29257,
    "c": 0.07303,
    "h": 137.7
  },
  "luminance": 0.02677
}

Semantic roles & 50–950 ramp

primary
#18340C
secondary
#5C2C70
accent
#42E6B5
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030701
muted
#787A77

Preview Lab

Preview with #18340C

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

Preview Lab → · Contrast checker → · Palette generator →

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