#40310B#40310B

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

Color values

HEX#40310B
RGBrgb(64, 49, 11)
HSLhsl(43, 71%, 15%)
HSVhsv(43, 83%, 25%)
CMYKcmyk(0%, 23.4%, 82.8%, 74.9%)
CIE-LABlab(21.25, 2.12, 25.43)
CIE-LCHlch(21.25, 25.52, 85.24°)
OKLaboklab(32.19% 0.0035 0.0568)
OKLCHoklch(32.19% 0.057 86.5)
XYZxyz(3.2733, 3.3110, 0.7832)
Luminance0.0331 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40310B #0B1A40
analogous
#40170B #40310B #35400B
triadic
#40310B #0B4031 #310B40
tetradic
#40310B #0B4017 #0B1A40 #400B35
square
#40310B #0B4017 #0B1A40 #400B35
split-complementary
#40310B #0B3540 #170B40
monochromatic
#1A1404 #1A1404 #40310B #745914 #A8811D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40310B#FFFFFF#000000##FFFFFF
##40310B1.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)
#383106
Deuteranopia (green-blind)
#3C350D
Tritanopia (blue-blind)
#462C29
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #40310b;
/* rgb */ color: rgb(64, 49, 11);
/* oklch */ color: oklch(32.2% 0.057 86.5);
Tailwind
colors: {
  custom: {
    50: '#77684d',
    500: '#40310b',
    950: '#000000',
  },
}
SCSS
$custom: #40310b;
$custom-light: #77684d;
$custom-dark: #000000;
JSON
{
  "hex": "#40310b",
  "rgb": {
    "r": 64,
    "g": 49,
    "b": 11
  },
  "hsl": {
    "h": 43.019,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.32191,
    "c": 0.05695,
    "h": 86.5
  },
  "luminance": 0.03311
}

Semantic roles & 50–950 ramp

primary
#40310B
secondary
#2A417D
accent
#6DED3A
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090601
muted
#7B7A77

Preview Lab

Preview with #40310B

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

Preview Lab → · Contrast checker → · Palette generator →

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