#15311A#15311A

#15311A is a dark, muted green. Relative luminance 0.024; OKLCH L 28.4% C 0.054 H 148.0°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#15311A
RGBrgb(21, 49, 26)
HSLhsl(131, 40%, 14%)
HSVhsv(131, 57%, 19%)
CMYKcmyk(57.1%, 0%, 46.9%, 80.8%)
CIE-LABlab(17.60, -16.85, 11.50)
CIE-LCHlch(17.60, 20.40, 145.68°)
OKLaboklab(28.39% -0.0458 0.0286)
OKLCHoklch(28.39% 0.054 148)
XYZxyz(1.5939, 2.4305, 1.3622)
Luminance0.0243 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15311A #31152C
analogous
#1E3115 #15311A #153128
triadic
#15311A #1A1531 #311A15
tetradic
#15311A #151E31 #31152C #312815
square
#15311A #151E31 #31152C #312815
split-complementary
#15311A #281531 #31151E
monochromatic
#09150B #09150B #15311A #275C31 #3A8747

Accessibility & contrast

On white

14.13
#15311A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#15311A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15311A
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15311A#FFFFFF#000000##FFFFFF
##15311A1.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322D18
Deuteranopia (green-blind)
#2E2A1B
Tritanopia (blue-blind)
#10302B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #15311a;
/* rgb */ color: rgb(21, 49, 26);
/* oklch */ color: oklch(28.4% 0.054 148.0);
Tailwind
colors: {
  custom: {
    50: '#556956',
    500: '#15311a',
    950: '#000000',
  },
}
SCSS
$custom: #15311a;
$custom-light: #556956;
$custom-dark: #000000;
JSON
{
  "hex": "#15311a",
  "rgb": {
    "r": 21,
    "g": 49,
    "b": 26
  },
  "hsl": {
    "h": 130.714,
    "s": 40,
    "l": 13.725
  },
  "oklch": {
    "l": 0.28385,
    "c": 0.05396,
    "h": 148
  },
  "luminance": 0.02431
}

Semantic roles & 50–950 ramp

primary
#15311A
secondary
#683A5F
accent
#58BAD0
background
#F5F6F5
surface
#E8EBE9
border
#C4C6C5
text
#030603
muted
#787A78

Preview Lab

Preview with #15311A

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

Preview Lab → · Contrast checker → · Palette generator →

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