#40310C#40310C

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

Color values

HEX#40310C
RGBrgb(64, 49, 12)
HSLhsl(43, 68%, 15%)
HSVhsv(43, 81%, 25%)
CMYKcmyk(0%, 23.4%, 81.2%, 74.9%)
CIE-LABlab(21.26, 2.18, 25.00)
CIE-LCHlch(21.26, 25.09, 85.02°)
OKLaboklab(32.2% 0.0038 0.056)
OKLCHoklch(32.2% 0.056 86.1)
XYZxyz(3.2792, 3.3134, 0.8146)
Luminance0.0331 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40310C #0C1B40
analogous
#40170C #40310C #35400C
triadic
#40310C #0C4031 #310C40
tetradic
#40310C #0C4017 #0C1B40 #400C35
square
#40310C #0C4017 #0C1B40 #400C35
split-complementary
#40310C #0C3540 #170C40
monochromatic
#1A1405 #1A1405 #40310C #745816 #A7801F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40310C#FFFFFF#000000##FFFFFF
##40310C1.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)
#383107
Deuteranopia (green-blind)
#3B350E
Tritanopia (blue-blind)
#462C29
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #40310c;
/* rgb */ color: rgb(64, 49, 12);
/* oklch */ color: oklch(32.2% 0.056 86.1);
Tailwind
colors: {
  custom: {
    50: '#77684d',
    500: '#40310c',
    950: '#000000',
  },
}
SCSS
$custom: #40310c;
$custom-light: #77684d;
$custom-dark: #000000;
JSON
{
  "hex": "#40310c",
  "rgb": {
    "r": 64,
    "g": 49,
    "b": 12
  },
  "hsl": {
    "h": 42.692,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.322,
    "c": 0.05616,
    "h": 86.1
  },
  "luminance": 0.03313
}

Semantic roles & 50–950 ramp

primary
#40310C
secondary
#2C437C
accent
#6FEB3D
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090601
muted
#7B7A77

Preview Lab

Preview with #40310C

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

Preview Lab → · Contrast checker → · Palette generator →

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