#40310A#40310A

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

Color values

HEX#40310A
RGBrgb(64, 49, 10)
HSLhsl(43, 73%, 15%)
HSVhsv(43, 84%, 25%)
CMYKcmyk(0%, 23.4%, 84.4%, 74.9%)
CIE-LABlab(21.24, 2.06, 25.84)
CIE-LCHlch(21.24, 25.92, 85.44°)
OKLaboklab(32.18% 0.0032 0.0576)
OKLCHoklch(32.18% 0.058 86.9)
XYZxyz(3.2676, 3.3087, 0.7536)
Luminance0.0331 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40310A #0A1940
analogous
#40160A #40310A #34400A
triadic
#40310A #0A4031 #310A40
tetradic
#40310A #0A4016 #0A1940 #400A34
square
#40310A #0A4016 #0A1940 #400A34
split-complementary
#40310A #0A3440 #160A40
monochromatic
#1A1404 #1A1404 #40310A #755A12 #AA821B

Accessibility & contrast

On white

12.64
#40310A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40310A
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40310A#FFFFFF#000000##FFFFFF
##40310A1.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383105
Deuteranopia (green-blind)
#3C350C
Tritanopia (blue-blind)
#462C29
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #40310a;
/* rgb */ color: rgb(64, 49, 10);
/* oklch */ color: oklch(32.2% 0.058 86.9);
Tailwind
colors: {
  custom: {
    50: '#77684c',
    500: '#40310a',
    950: '#000000',
  },
}
SCSS
$custom: #40310a;
$custom-light: #77684c;
$custom-dark: #000000;
JSON
{
  "hex": "#40310a",
  "rgb": {
    "r": 64,
    "g": 49,
    "b": 10
  },
  "hsl": {
    "h": 43.333,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.32181,
    "c": 0.0577,
    "h": 86.9
  },
  "luminance": 0.03309
}

Semantic roles & 50–950 ramp

primary
#40310A
secondary
#29407D
accent
#6BF038
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090601
muted
#7B7A77

Preview Lab

Preview with #40310A

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

Preview Lab → · Contrast checker → · Palette generator →

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