#40310E#40310E

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

Color values

HEX#40310E
RGBrgb(64, 49, 14)
HSLhsl(42, 64%, 15%)
HSVhsv(42, 78%, 25%)
CMYKcmyk(0%, 23.4%, 78.1%, 74.9%)
CIE-LABlab(21.28, 2.31, 24.06)
CIE-LCHlch(21.28, 24.17, 84.52°)
OKLaboklab(32.22% 0.0045 0.0543)
OKLCHoklch(32.22% 0.054 85.3)
XYZxyz(3.2921, 3.3185, 0.8825)
Luminance0.0332 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40310E #0E1D40
analogous
#40180E #40310E #36400E
triadic
#40310E #0E4031 #310E40
tetradic
#40310E #0E4018 #0E1D40 #400E36
square
#40310E #0E4018 #0E1D40 #400E36
split-complementary
#40310E #0E3640 #180E40
monochromatic
#191305 #191305 #40310E #725719 #A47E24

Accessibility & contrast

On white

12.62
#40310E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40310E
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40310E#FFFFFF#000000##FFFFFF
##40310E1.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40310e;
/* rgb */ color: rgb(64, 49, 14);
/* oklch */ color: oklch(32.2% 0.054 85.3);
Tailwind
colors: {
  custom: {
    50: '#77684e',
    500: '#40310e',
    950: '#000000',
  },
}
SCSS
$custom: #40310e;
$custom-light: #77684e;
$custom-dark: #000000;
JSON
{
  "hex": "#40310e",
  "rgb": {
    "r": 64,
    "g": 49,
    "b": 14
  },
  "hsl": {
    "h": 42,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.32222,
    "c": 0.05447,
    "h": 85.3
  },
  "luminance": 0.03318
}

Semantic roles & 50–950 ramp

primary
#40310E
secondary
#2F467B
accent
#73E741
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090602
muted
#7B7A78

Preview Lab

Preview with #40310E

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

Preview Lab → · Contrast checker → · Palette generator →

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