#402014#402014

#402014 is a dark, muted orange. Relative luminance 0.022; OKLCH L 28.4% C 0.054 H 41.0°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#402014
RGBrgb(64, 32, 20)
HSLhsl(16, 52%, 16%)
HSVhsv(16, 69%, 25%)
CMYKcmyk(0%, 50%, 68.8%, 74.9%)
CIE-LABlab(16.37, 14.09, 14.84)
CIE-LCHlch(16.37, 20.46, 46.49°)
OKLaboklab(28.44% 0.0406 0.0353)
OKLCHoklch(28.44% 0.054 41)
XYZxyz(2.7573, 2.1738, 0.9361)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402014 #143440
analogous
#40141E #402014 #403614
triadic
#402014 #144020 #201440
tetradic
#402014 #1E4014 #143440 #361440
square
#402014 #1E4014 #143440 #361440
split-complementary
#402014 #144036 #141E40
monochromatic
#170C07 #170C07 #402014 #6F3723 #9D4F31

Accessibility & contrast

On white

14.64
#402014 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#402014 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402014
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402014#FFFFFF#000000##FFFFFF
##4020141.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #402014;
/* rgb */ color: rgb(64, 32, 20);
/* oklch */ color: oklch(28.4% 0.054 41.0);
Tailwind
colors: {
  custom: {
    50: '#785c51',
    500: '#402014',
    950: '#000000',
  },
}
SCSS
$custom: #402014;
$custom-light: #785c51;
$custom-dark: #000000;
JSON
{
  "hex": "#402014",
  "rgb": {
    "r": 64,
    "g": 32,
    "b": 20
  },
  "hsl": {
    "h": 16.364,
    "s": 52.381,
    "l": 16.471
  },
  "oklch": {
    "l": 0.28438,
    "c": 0.05379,
    "h": 41
  },
  "luminance": 0.02174
}

Semantic roles & 50–950 ramp

primary
#402014
secondary
#386778
accent
#B5DC4C
background
#F7F5F4
surface
#EDE9E7
border
#C8C5C3
text
#090402
muted
#7B7978

Preview Lab

Preview with #402014

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

Preview Lab → · Contrast checker → · Palette generator →

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