#40310D#40310D

#40310D is a dark, muted orange. Relative luminance 0.033; OKLCH L 32.2% C 0.055 H 85.7°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#40310D
RGBrgb(64, 49, 13)
HSLhsl(42, 66%, 15%)
HSVhsv(42, 80%, 25%)
CMYKcmyk(0%, 23.4%, 79.7%, 74.9%)
CIE-LABlab(21.27, 2.24, 24.54)
CIE-LCHlch(21.27, 24.64, 84.78°)
OKLaboklab(32.21% 0.0041 0.0552)
OKLCHoklch(32.21% 0.055 85.7)
XYZxyz(3.2855, 3.3159, 0.8477)
Luminance0.0332 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40310D #0D1C40
analogous
#40170D #40310D #35400D
triadic
#40310D #0D4031 #310D40
tetradic
#40310D #0D4017 #0D1C40 #400D35
square
#40310D #0D4017 #0D1C40 #400D35
split-complementary
#40310D #0D3540 #170D40
monochromatic
#191305 #191305 #40310D #735817 #A67F22

Accessibility & contrast

On white

12.63
#40310D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#40310D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40310D
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40310D#FFFFFF#000000##FFFFFF
##40310D1.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383108
Deuteranopia (green-blind)
#3B350F
Tritanopia (blue-blind)
#462C2A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #40310d;
/* rgb */ color: rgb(64, 49, 13);
/* oklch */ color: oklch(32.2% 0.055 85.7);
Tailwind
colors: {
  custom: {
    50: '#77684e',
    500: '#40310d',
    950: '#000000',
  },
}
SCSS
$custom: #40310d;
$custom-light: #77684e;
$custom-dark: #000000;
JSON
{
  "hex": "#40310d",
  "rgb": {
    "r": 64,
    "g": 49,
    "b": 13
  },
  "hsl": {
    "h": 42.353,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.32211,
    "c": 0.05533,
    "h": 85.7
  },
  "luminance": 0.03316
}

Semantic roles & 50–950 ramp

primary
#40310D
secondary
#2D447C
accent
#71E93F
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090601
muted
#7B7A77

Preview Lab

Preview with #40310D

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

Preview Lab → · Contrast checker → · Palette generator →

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