#40331D#40331D

#40331D is a dark, muted orange. Relative luminance 0.035; OKLCH L 32.9% C 0.040 H 79.9°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#40331D
RGBrgb(64, 51, 29)
HSLhsl(38, 38%, 18%)
HSVhsv(38, 55%, 25%)
CMYKcmyk(0%, 20.3%, 54.7%, 74.9%)
CIE-LABlab(22.11, 2.39, 16.10)
CIE-LCHlch(22.11, 16.28, 81.56°)
OKLaboklab(32.95% 0.007 0.039)
OKLCHoklch(32.95% 0.04 79.9)
XYZxyz(3.5201, 3.5465, 1.6613)
Luminance0.0355 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40331D #1D2A40
analogous
#40211D #40331D #3B401D
triadic
#40331D #1D4033 #331D40
tetradic
#40331D #1D4021 #1D2A40 #401D3B
square
#40331D #1D4021 #1D2A40 #401D3B
split-complementary
#40331D #1D3B40 #211D40
monochromatic
#15110A #16110A #40331D #6A5530 #947643

Accessibility & contrast

On white

12.29
#40331D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#40331D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40331D
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40331D#FFFFFF#000000##FFFFFF
##40331D1.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331B
Deuteranopia (green-blind)
#3C361E
Tritanopia (blue-blind)
#452F2E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #40331d;
/* rgb */ color: rgb(64, 51, 29);
/* oklch */ color: oklch(32.9% 0.040 79.9);
Tailwind
colors: {
  custom: {
    50: '#766a59',
    500: '#40331d',
    950: '#000000',
  },
}
SCSS
$custom: #40331d;
$custom-light: #766a59;
$custom-dark: #000000;
JSON
{
  "hex": "#40331d",
  "rgb": {
    "r": 64,
    "g": 51,
    "b": 29
  },
  "hsl": {
    "h": 37.714,
    "s": 37.634,
    "l": 18.235
  },
  "oklch": {
    "l": 0.32945,
    "c": 0.03961,
    "h": 79.9
  },
  "luminance": 0.03546
}

Semantic roles & 50–950 ramp

primary
#40331D
secondary
#445675
accent
#85CE5A
background
#F7F6F5
surface
#EDEBE9
border
#C8C6C5
text
#080603
muted
#7B7A78

Preview Lab

Preview with #40331D

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

Preview Lab → · Contrast checker → · Palette generator →

#40331D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva