#15401D#15401D

#15401D is a dark, moderate green. Relative luminance 0.039; OKLCH L 33.1% C 0.077 H 147.3°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#15401D
RGBrgb(21, 64, 29)
HSLhsl(131, 51%, 17%)
HSVhsv(131, 67%, 25%)
CMYKcmyk(67.2%, 0%, 54.7%, 74.9%)
CIE-LABlab(23.39, -23.82, 17.02)
CIE-LCHlch(23.39, 29.28, 144.44°)
OKLaboklab(33.15% -0.0644 0.0414)
OKLCHoklch(33.15% 0.077 147.3)
XYZxyz(2.3643, 3.9147, 1.7932)
Luminance0.0391 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15401D #401538
analogous
#234015 #15401D #154033
triadic
#15401D #1D1540 #401D15
tetradic
#15401D #152340 #401538 #403315
square
#15401D #152340 #401538 #403315
split-complementary
#15401D #331540 #401523
monochromatic
#08170A #08170A #15401D #246E32 #339C47

Accessibility & contrast

On white

11.78
#15401D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#15401D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15401D
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15401D#FFFFFF#000000##FFFFFF
##15401D1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A1A
Deuteranopia (green-blind)
#3B361F
Tritanopia (blue-blind)
#0B3F38
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #15401d;
/* rgb */ color: rgb(21, 64, 29);
/* oklch */ color: oklch(33.1% 0.077 147.3);
Tailwind
colors: {
  custom: {
    50: '#587559',
    500: '#15401d',
    950: '#000000',
  },
}
SCSS
$custom: #15401d;
$custom-light: #587559;
$custom-dark: #000000;
JSON
{
  "hex": "#15401d",
  "rgb": {
    "r": 21,
    "g": 64,
    "b": 29
  },
  "hsl": {
    "h": 131.163,
    "s": 50.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.33147,
    "c": 0.07658,
    "h": 147.3
  },
  "luminance": 0.03915
}

Semantic roles & 50–950 ramp

primary
#15401D
secondary
#78396C
accent
#4EC0DA
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #15401D

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

Preview Lab → · Contrast checker → · Palette generator →

#15401D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva