#403828#403828

#403828 is a dark, muted orange. Relative luminance 0.041; OKLCH L 34.4% C 0.029 H 84.4°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#403828
RGBrgb(64, 56, 40)
HSLhsl(40, 23%, 20%)
HSVhsv(40, 38%, 25%)
CMYKcmyk(0%, 12.5%, 37.5%, 74.9%)
CIE-LABlab(23.91, 0.61, 11.31)
CIE-LCHlch(23.91, 11.33, 86.89°)
OKLaboklab(34.43% 0.0028 0.0284)
OKLCHoklch(34.43% 0.029 84.4)
XYZxyz(3.9116, 4.0717, 2.5869)
Luminance0.0407 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403828 #283040
analogous
#402C28 #403828 #3C4028
triadic
#403828 #284038 #382840
tetradic
#403828 #28402C #283040 #40283C
square
#403828 #28402C #283040 #40283C
split-complementary
#403828 #283C40 #2C2840
monochromatic
#13100C #1A1710 #403828 #665940 #8B7A57

Accessibility & contrast

On white

11.57
#403828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#403828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403828
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403828#FFFFFF#000000##FFFFFF
##4038281.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3827
Deuteranopia (green-blind)
#3E3A28
Tritanopia (blue-blind)
#443534
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #403828;
/* rgb */ color: rgb(64, 56, 40);
/* oklch */ color: oklch(34.4% 0.029 84.4);
Tailwind
colors: {
  custom: {
    50: '#756e62',
    500: '#403828',
    950: '#000000',
  },
}
SCSS
$custom: #403828;
$custom-light: #756e62;
$custom-dark: #000000;
JSON
{
  "hex": "#403828",
  "rgb": {
    "r": 64,
    "g": 56,
    "b": 40
  },
  "hsl": {
    "h": 40,
    "s": 23.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.34428,
    "c": 0.02854,
    "h": 84.4
  },
  "luminance": 0.04072
}

Semantic roles & 50–950 ramp

primary
#403828
secondary
#525D72
accent
#85C068
background
#F7F6F5
surface
#EDEBEA
border
#C8C6C6
text
#080705
muted
#7B7A79

Preview Lab

Preview with #403828

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

Preview Lab → · Contrast checker → · Palette generator →

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