#40382C#40382C

#40382C is a dark, muted orange. Relative luminance 0.041; OKLCH L 34.5% C 0.023 H 77.9°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#40382C
RGBrgb(64, 56, 44)
HSLhsl(36, 19%, 21%)
HSVhsv(36, 31%, 25%)
CMYKcmyk(0%, 12.5%, 31.2%, 74.9%)
CIE-LABlab(24.00, 1.26, 8.80)
CIE-LCHlch(24.00, 8.89, 81.86°)
OKLaboklab(34.53% 0.0048 0.0224)
OKLCHoklch(34.53% 0.023 77.9)
XYZxyz(3.9832, 4.1003, 2.9640)
Luminance0.0410 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40382C #2C3440
analogous
#402E2C #40382C #3E402C
triadic
#40382C #2C4038 #382C40
tetradic
#40382C #2C402E #2C3440 #402C3E
square
#40382C #2C402E #2C3440 #402C3E
split-complementary
#40382C #2C3E40 #2E2C40
monochromatic
#12100C #1C1813 #40382C #645845 #89775E

Accessibility & contrast

On white

11.54
#40382C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#40382C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40382C
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40382C#FFFFFF#000000##FFFFFF
##40382C1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B382B
Deuteranopia (green-blind)
#3D3A2C
Tritanopia (blue-blind)
#433635
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #40382c;
/* rgb */ color: rgb(64, 56, 44);
/* oklch */ color: oklch(34.5% 0.023 77.9);
Tailwind
colors: {
  custom: {
    50: '#756e65',
    500: '#40382c',
    950: '#000000',
  },
}
SCSS
$custom: #40382c;
$custom-light: #756e65;
$custom-dark: #000000;
JSON
{
  "hex": "#40382c",
  "rgb": {
    "r": 64,
    "g": 56,
    "b": 44
  },
  "hsl": {
    "h": 36,
    "s": 18.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.34532,
    "c": 0.02293,
    "h": 77.9
  },
  "luminance": 0.041
}

Semantic roles & 50–950 ramp

primary
#40382C
secondary
#576171
accent
#8CBB6D
background
#F7F6F6
surface
#EDEBEB
border
#C8C6C6
text
#080705
muted
#7B7A7A

Preview Lab

Preview with #40382C

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

Preview Lab → · Contrast checker → · Palette generator →

#40382C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva