#40331E#40331E

#40331E is a dark, muted orange. Relative luminance 0.036; OKLCH L 33.0% C 0.038 H 78.8°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#40331E
RGBrgb(64, 51, 30)
HSLhsl(37, 36%, 18%)
HSVhsv(37, 53%, 25%)
CMYKcmyk(0%, 20.3%, 53.1%, 74.9%)
CIE-LABlab(22.13, 2.51, 15.49)
CIE-LCHlch(22.13, 15.69, 80.79°)
OKLaboklab(32.97% 0.0074 0.0377)
OKLCHoklch(32.97% 0.038 78.8)
XYZxyz(3.5327, 3.5516, 1.7275)
Luminance0.0355 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40331E #1E2B40
analogous
#40221E #40331E #3C401E
triadic
#40331E #1E4033 #331E40
tetradic
#40331E #1E4022 #1E2B40 #401E3C
square
#40331E #1E4022 #1E2B40 #401E3C
split-complementary
#40331E #1E3C40 #221E40
monochromatic
#15110A #16120A #40331E #6A5432 #937545

Accessibility & contrast

On white

12.28
#40331E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40331E
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40331E#FFFFFF#000000##FFFFFF
##40331E1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40331e;
/* rgb */ color: rgb(64, 51, 30);
/* oklch */ color: oklch(33.0% 0.038 78.8);
Tailwind
colors: {
  custom: {
    50: '#766a5a',
    500: '#40331e',
    950: '#000000',
  },
}
SCSS
$custom: #40331e;
$custom-light: #766a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#40331e",
  "rgb": {
    "r": 64,
    "g": 51,
    "b": 30
  },
  "hsl": {
    "h": 37.059,
    "s": 36.17,
    "l": 18.431
  },
  "oklch": {
    "l": 0.32965,
    "c": 0.03839,
    "h": 78.8
  },
  "luminance": 0.03551
}

Semantic roles & 50–950 ramp

primary
#40331E
secondary
#455774
accent
#87CC5C
background
#F7F6F5
surface
#EDEBE9
border
#C8C6C5
text
#080603
muted
#7B7A78

Preview Lab

Preview with #40331E

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

Preview Lab → · Contrast checker → · Palette generator →

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