#40331A#40331A

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

Color values

HEX#40331A
RGBrgb(64, 51, 26)
HSLhsl(39, 42%, 18%)
HSVhsv(39, 59%, 25%)
CMYKcmyk(0%, 20.3%, 59.4%, 74.9%)
CIE-LABlab(22.06, 2.05, 17.94)
CIE-LCHlch(22.06, 18.06, 83.49°)
OKLaboklab(32.89% 0.0056 0.0428)
OKLCHoklch(32.89% 0.043 82.6)
XYZxyz(3.4848, 3.5324, 1.4754)
Luminance0.0353 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40331A #1A2740
analogous
#40201A #40331A #3A401A
triadic
#40331A #1A4033 #331A40
tetradic
#40331A #1A4020 #1A2740 #401A3A
square
#40331A #1A4020 #1A2740 #401A3A
split-complementary
#40331A #1A3A40 #201A40
monochromatic
#161109 #161109 #40331A #6C562C #97783D

Accessibility & contrast

On white

12.31
#40331A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40331A
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40331A#FFFFFF#000000##FFFFFF
##40331A1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40331a;
/* rgb */ color: rgb(64, 51, 26);
/* oklch */ color: oklch(32.9% 0.043 82.6);
Tailwind
colors: {
  custom: {
    50: '#766a57',
    500: '#40331a',
    950: '#000000',
  },
}
SCSS
$custom: #40331a;
$custom-light: #766a57;
$custom-dark: #000000;
JSON
{
  "hex": "#40331a",
  "rgb": {
    "r": 64,
    "g": 51,
    "b": 26
  },
  "hsl": {
    "h": 39.474,
    "s": 42.222,
    "l": 17.647
  },
  "oklch": {
    "l": 0.32889,
    "c": 0.0432,
    "h": 82.6
  },
  "luminance": 0.03532
}

Semantic roles & 50–950 ramp

primary
#40331A
secondary
#405276
accent
#80D256
background
#F7F6F5
surface
#EDEBE9
border
#C8C6C5
text
#090603
muted
#7B7A78

Preview Lab

Preview with #40331A

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

Preview Lab → · Contrast checker → · Palette generator →

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