#15401F#15401F

#15401F is a dark, moderate green. Relative luminance 0.039; OKLCH L 33.2% C 0.074 H 148.5°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#15401F
RGBrgb(21, 64, 31)
HSLhsl(134, 51%, 17%)
HSVhsv(134, 67%, 25%)
CMYKcmyk(67.2%, 0%, 51.6%, 74.9%)
CIE-LABlab(23.42, -23.44, 15.84)
CIE-LCHlch(23.42, 28.29, 145.95°)
OKLaboklab(33.19% -0.0634 0.0388)
OKLCHoklch(33.19% 0.074 148.5)
XYZxyz(2.3898, 3.9249, 1.9277)
Luminance0.0393 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15401F #401536
analogous
#214015 #15401F #154035
triadic
#15401F #1F1540 #401F15
tetradic
#15401F #152140 #401536 #403515
square
#15401F #152140 #401536 #403515
split-complementary
#15401F #351540 #401521
monochromatic
#08170B #08170B #15401F #246E35 #339C4C

Accessibility & contrast

On white

11.76
#15401F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#15401F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15401F
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15401F#FFFFFF#000000##FFFFFF
##15401F1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A1C
Deuteranopia (green-blind)
#3B3621
Tritanopia (blue-blind)
#0A3F38
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #15401f;
/* rgb */ color: rgb(21, 64, 31);
/* oklch */ color: oklch(33.2% 0.074 148.5);
Tailwind
colors: {
  custom: {
    50: '#58755b',
    500: '#15401f',
    950: '#000000',
  },
}
SCSS
$custom: #15401f;
$custom-light: #58755b;
$custom-dark: #000000;
JSON
{
  "hex": "#15401f",
  "rgb": {
    "r": 21,
    "g": 64,
    "b": 31
  },
  "hsl": {
    "h": 133.953,
    "s": 50.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.33187,
    "c": 0.07433,
    "h": 148.5
  },
  "luminance": 0.03925
}

Semantic roles & 50–950 ramp

primary
#15401F
secondary
#783969
accent
#4EB9DA
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #15401F

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

Preview Lab → · Contrast checker → · Palette generator →

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