#15340C#15340C

#15340C is a dark, moderate green. Relative luminance 0.026; OKLCH L 29.1% C 0.075 H 139.4°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#15340C
RGBrgb(21, 52, 12)
HSLhsl(107, 63%, 13%)
HSVhsv(107, 77%, 20%)
CMYKcmyk(59.6%, 0%, 76.9%, 79.6%)
CIE-LABlab(18.55, -20.68, 20.92)
CIE-LCHlch(18.55, 29.41, 134.67°)
OKLaboklab(29.09% -0.0568 0.0488)
OKLCHoklch(29.09% 0.075 139.4)
XYZxyz(1.6035, 2.6418, 0.7732)
Luminance0.0264 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15340C #2B0C34
analogous
#29340C #15340C #0C3417
triadic
#15340C #0C1534 #340C15
tetradic
#15340C #0C2934 #2B0C34 #34170C
square
#15340C #0C2934 #2B0C34 #34170C
split-complementary
#15340C #170C34 #340C29
monochromatic
#0A1906 #0A1906 #15340C #296617 #3D9723

Accessibility & contrast

On white

13.74
#15340C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#15340C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15340C
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15340C#FFFFFF#000000##FFFFFF
##15340C1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15340c;
/* rgb */ color: rgb(21, 52, 12);
/* oklch */ color: oklch(29.1% 0.075 139.4);
Tailwind
colors: {
  custom: {
    50: '#566c4d',
    500: '#15340c',
    950: '#000000',
  },
}
SCSS
$custom: #15340c;
$custom-light: #566c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#15340c",
  "rgb": {
    "r": 21,
    "g": 52,
    "b": 12
  },
  "hsl": {
    "h": 106.5,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.29091,
    "c": 0.07487,
    "h": 139.4
  },
  "luminance": 0.02642
}

Semantic roles & 50–950 ramp

primary
#15340C
secondary
#612C70
accent
#42E6C1
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030701
muted
#787A77

Preview Lab

Preview with #15340C

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

Preview Lab → · Contrast checker → · Palette generator →

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