#402415#402415

#402415 is a dark, muted orange. Relative luminance 0.024; OKLCH L 29.3% C 0.050 H 48.2°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#402415
RGBrgb(64, 36, 21)
HSLhsl(21, 51%, 17%)
HSVhsv(21, 67%, 25%)
CMYKcmyk(0%, 43.8%, 67.2%, 74.9%)
CIE-LABlab(17.49, 11.54, 15.55)
CIE-LCHlch(17.49, 19.37, 53.41°)
OKLaboklab(29.3% 0.033 0.037)
OKLCHoklch(29.3% 0.05 48.2)
XYZxyz(2.8808, 2.4062, 1.0220)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402415 #153140
analogous
#40151C #402415 #403A15
triadic
#402415 #154024 #241540
tetradic
#402415 #1C4015 #153140 #3A1540
square
#402415 #1C4015 #153140 #3A1540
split-complementary
#402415 #15403A #151C40
monochromatic
#170D08 #170D08 #402415 #6E3E24 #9C5833

Accessibility & contrast

On white

14.18
#402415 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#402415 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402415
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402415#FFFFFF#000000##FFFFFF
##4024151.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2714
Deuteranopia (green-blind)
#322D15
Tritanopia (blue-blind)
#461F20
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #402415;
/* rgb */ color: rgb(64, 36, 21);
/* oklch */ color: oklch(29.3% 0.050 48.2);
Tailwind
colors: {
  custom: {
    50: '#775f52',
    500: '#402415',
    950: '#000000',
  },
}
SCSS
$custom: #402415;
$custom-light: #775f52;
$custom-dark: #000000;
JSON
{
  "hex": "#402415",
  "rgb": {
    "r": 64,
    "g": 36,
    "b": 21
  },
  "hsl": {
    "h": 20.93,
    "s": 50.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.293,
    "c": 0.04959,
    "h": 48.2
  },
  "luminance": 0.02406
}

Semantic roles & 50–950 ramp

primary
#402415
secondary
#396278
accent
#A9DA4E
background
#F7F5F4
surface
#EDE9E7
border
#C8C5C3
text
#090402
muted
#7B7978

Preview Lab

Preview with #402415

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

Preview Lab → · Contrast checker → · Palette generator →

#402415 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva