#15401A#15401A

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

Color values

HEX#15401A
RGBrgb(21, 64, 26)
HSLhsl(127, 51%, 17%)
HSVhsv(127, 67%, 25%)
CMYKcmyk(67.2%, 0%, 59.4%, 74.9%)
CIE-LABlab(23.34, -24.34, 18.77)
CIE-LCHlch(23.34, 30.74, 142.37°)
OKLaboklab(33.09% -0.0659 0.0451)
OKLCHoklch(33.09% 0.08 145.6)
XYZxyz(2.3290, 3.9006, 1.6072)
Luminance0.0390 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15401A #40153B
analogous
#264015 #15401A #154030
triadic
#15401A #1A1540 #401A15
tetradic
#15401A #152640 #40153B #403015
square
#15401A #152640 #40153B #403015
split-complementary
#15401A #301540 #401526
monochromatic
#081709 #081709 #15401A #246E2D #339C3F

Accessibility & contrast

On white

11.80
#15401A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15401A
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15401A#FFFFFF#000000##FFFFFF
##15401A1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A17
Deuteranopia (green-blind)
#3C361D
Tritanopia (blue-blind)
#0C3E37
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #15401a;
/* rgb */ color: rgb(21, 64, 26);
/* oklch */ color: oklch(33.1% 0.080 145.6);
Tailwind
colors: {
  custom: {
    50: '#587557',
    500: '#15401a',
    950: '#000000',
  },
}
SCSS
$custom: #15401a;
$custom-light: #587557;
$custom-dark: #000000;
JSON
{
  "hex": "#15401a",
  "rgb": {
    "r": 21,
    "g": 64,
    "b": 26
  },
  "hsl": {
    "h": 126.977,
    "s": 50.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.33093,
    "c": 0.07987,
    "h": 145.6
  },
  "luminance": 0.03901
}

Semantic roles & 50–950 ramp

primary
#15401A
secondary
#783970
accent
#4ECADA
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #15401A

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

Preview Lab → · Contrast checker → · Palette generator →

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