#40331C#40331C

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

Color values

HEX#40331C
RGBrgb(64, 51, 28)
HSLhsl(38, 39%, 18%)
HSVhsv(38, 56%, 25%)
CMYKcmyk(0%, 20.3%, 56.2%, 74.9%)
CIE-LABlab(22.09, 2.27, 16.72)
CIE-LCHlch(22.09, 16.87, 82.27°)
OKLaboklab(32.93% 0.0065 0.0403)
OKLCHoklch(32.93% 0.041 80.9)
XYZxyz(3.5079, 3.5417, 1.5972)
Luminance0.0354 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40331C #1C2940
analogous
#40211C #40331C #3B401C
triadic
#40331C #1C4033 #331C40
tetradic
#40331C #1C4021 #1C2940 #401C3B
square
#40331C #1C4021 #1C2940 #401C3B
split-complementary
#40331C #1C3B40 #211C40
monochromatic
#151109 #151109 #40331C #6B552F #957741

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40331C#FFFFFF#000000##FFFFFF
##40331C1.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)
#39331A
Deuteranopia (green-blind)
#3C361D
Tritanopia (blue-blind)
#452F2D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #40331c;
/* rgb */ color: rgb(64, 51, 28);
/* oklch */ color: oklch(32.9% 0.041 80.9);
Tailwind
colors: {
  custom: {
    50: '#766a58',
    500: '#40331c',
    950: '#000000',
  },
}
SCSS
$custom: #40331c;
$custom-light: #766a58;
$custom-dark: #000000;
JSON
{
  "hex": "#40331c",
  "rgb": {
    "r": 64,
    "g": 51,
    "b": 28
  },
  "hsl": {
    "h": 38.333,
    "s": 39.13,
    "l": 18.039
  },
  "oklch": {
    "l": 0.32926,
    "c": 0.04082,
    "h": 80.9
  },
  "luminance": 0.03541
}

Semantic roles & 50–950 ramp

primary
#40331C
secondary
#435575
accent
#83CF59
background
#F7F6F5
surface
#EDEBE9
border
#C8C6C5
text
#080603
muted
#7B7A78

Preview Lab

Preview with #40331C

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

Preview Lab → · Contrast checker → · Palette generator →

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