#15401B#15401B

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

Color values

HEX#15401B
RGBrgb(21, 64, 27)
HSLhsl(128, 51%, 17%)
HSVhsv(128, 67%, 25%)
CMYKcmyk(67.2%, 0%, 57.8%, 74.9%)
CIE-LABlab(23.36, -24.17, 18.19)
CIE-LCHlch(23.36, 30.25, 143.04°)
OKLaboklab(33.11% -0.0654 0.0439)
OKLCHoklch(33.11% 0.079 146.1)
XYZxyz(2.3403, 3.9051, 1.6671)
Luminance0.0391 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15401B #40153A
analogous
#254015 #15401B #154031
triadic
#15401B #1B1540 #401B15
tetradic
#15401B #152540 #40153A #403115
square
#15401B #152540 #40153A #403115
split-complementary
#15401B #311540 #401525
monochromatic
#08170A #08170A #15401B #246E2E #339C42

Accessibility & contrast

On white

11.79
#15401B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15401B
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15401B#FFFFFF#000000##FFFFFF
##15401B1.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15401b;
/* rgb */ color: rgb(21, 64, 27);
/* oklch */ color: oklch(33.1% 0.079 146.1);
Tailwind
colors: {
  custom: {
    50: '#587558',
    500: '#15401b',
    950: '#000000',
  },
}
SCSS
$custom: #15401b;
$custom-light: #587558;
$custom-dark: #000000;
JSON
{
  "hex": "#15401b",
  "rgb": {
    "r": 21,
    "g": 64,
    "b": 27
  },
  "hsl": {
    "h": 128.372,
    "s": 50.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.33111,
    "c": 0.07879,
    "h": 146.1
  },
  "luminance": 0.03905
}

Semantic roles & 50–950 ramp

primary
#15401B
secondary
#78396F
accent
#4EC6DA
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #15401B

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

Preview Lab → · Contrast checker → · Palette generator →

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