#40331B#40331B

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

Color values

HEX#40331B
RGBrgb(64, 51, 27)
HSLhsl(39, 41%, 18%)
HSVhsv(39, 58%, 25%)
CMYKcmyk(0%, 20.3%, 57.8%, 74.9%)
CIE-LABlab(22.08, 2.16, 17.33)
CIE-LCHlch(22.08, 17.47, 82.90°)
OKLaboklab(32.91% 0.006 0.0416)
OKLCHoklch(32.91% 0.042 81.8)
XYZxyz(3.4962, 3.5370, 1.5352)
Luminance0.0354 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40331B #1B2840
analogous
#40201B #40331B #3A401B
triadic
#40331B #1B4033 #331B40
tetradic
#40331B #1B4020 #1B2840 #401B3A
square
#40331B #1B4020 #1B2840 #401B3A
split-complementary
#40331B #1B3A40 #201B40
monochromatic
#161109 #161109 #40331B #6B552D #96783F

Accessibility & contrast

On white

12.30
#40331B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40331B
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40331B#FFFFFF#000000##FFFFFF
##40331B1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393319
Deuteranopia (green-blind)
#3C361C
Tritanopia (blue-blind)
#452F2D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #40331b;
/* rgb */ color: rgb(64, 51, 27);
/* oklch */ color: oklch(32.9% 0.042 81.8);
Tailwind
colors: {
  custom: {
    50: '#766a58',
    500: '#40331b',
    950: '#000000',
  },
}
SCSS
$custom: #40331b;
$custom-light: #766a58;
$custom-dark: #000000;
JSON
{
  "hex": "#40331b",
  "rgb": {
    "r": 64,
    "g": 51,
    "b": 27
  },
  "hsl": {
    "h": 38.919,
    "s": 40.659,
    "l": 17.843
  },
  "oklch": {
    "l": 0.32907,
    "c": 0.04201,
    "h": 81.8
  },
  "luminance": 0.03537
}

Semantic roles & 50–950 ramp

primary
#40331B
secondary
#415475
accent
#82D157
background
#F7F6F5
surface
#EDEBE9
border
#C8C6C5
text
#080603
muted
#7B7A78

Preview Lab

Preview with #40331B

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

Preview Lab → · Contrast checker → · Palette generator →

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