#402015#402015

#402015 is a dark, muted orange. Relative luminance 0.022; OKLCH L 28.5% C 0.053 H 39.6°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#402015
RGBrgb(64, 32, 21)
HSLhsl(15, 51%, 17%)
HSVhsv(15, 67%, 25%)
CMYKcmyk(0%, 50%, 67.2%, 74.9%)
CIE-LABlab(16.39, 14.18, 14.19)
CIE-LCHlch(16.39, 20.06, 45.02°)
OKLaboklab(28.46% 0.0411 0.034)
OKLCHoklch(28.46% 0.053 39.6)
XYZxyz(2.7664, 2.1774, 0.9839)
Luminance0.0218 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402015 #153540
analogous
#401520 #402015 #403615
triadic
#402015 #154020 #201540
tetradic
#402015 #204015 #153540 #361540
square
#402015 #204015 #153540 #361540
split-complementary
#402015 #154036 #152040
monochromatic
#170C08 #170C08 #402015 #6E3724 #9C4E33

Accessibility & contrast

On white

14.63
#402015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#402015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402015
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402015#FFFFFF#000000##FFFFFF
##4020151.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282414
Deuteranopia (green-blind)
#302B15
Tritanopia (blue-blind)
#461A1D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #402015;
/* rgb */ color: rgb(64, 32, 21);
/* oklch */ color: oklch(28.5% 0.053 39.6);
Tailwind
colors: {
  custom: {
    50: '#785c52',
    500: '#402015',
    950: '#000000',
  },
}
SCSS
$custom: #402015;
$custom-light: #785c52;
$custom-dark: #000000;
JSON
{
  "hex": "#402015",
  "rgb": {
    "r": 64,
    "g": 32,
    "b": 21
  },
  "hsl": {
    "h": 15.349,
    "s": 50.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.28457,
    "c": 0.05327,
    "h": 39.6
  },
  "luminance": 0.02177
}

Semantic roles & 50–950 ramp

primary
#402015
secondary
#396878
accent
#B6DA4E
background
#F7F5F4
surface
#EDE9E7
border
#C8C5C3
text
#090402
muted
#7B7978

Preview Lab

Preview with #402015

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

Preview Lab → · Contrast checker → · Palette generator →

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