#40320F#40320F

#40320F is a dark, muted orange. Relative luminance 0.034; OKLCH L 32.5% C 0.054 H 86.9°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#40320F
RGBrgb(64, 50, 15)
HSLhsl(43, 62%, 15%)
HSVhsv(43, 77%, 25%)
CMYKcmyk(0%, 21.9%, 76.6%, 74.9%)
CIE-LABlab(21.60, 1.72, 23.89)
CIE-LCHlch(21.60, 23.96, 85.88°)
OKLaboklab(32.48% 0.0029 0.0541)
OKLCHoklch(32.48% 0.054 86.9)
XYZxyz(3.3414, 3.4059, 0.9333)
Luminance0.0341 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40320F #0F1D40
analogous
#40190F #40320F #35400F
triadic
#40320F #0F4032 #320F40
tetradic
#40320F #0F4019 #0F1D40 #400F35
square
#40320F #0F4019 #0F1D40 #400F35
split-complementary
#40320F #0F3540 #190F40
monochromatic
#191306 #191306 #40320F #72591B #A37F26

Accessibility & contrast

On white

12.49
#40320F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#40320F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40320F
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40320F#FFFFFF#000000##FFFFFF
##40320F1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39320B
Deuteranopia (green-blind)
#3C3511
Tritanopia (blue-blind)
#462D2B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #40320f;
/* rgb */ color: rgb(64, 50, 15);
/* oklch */ color: oklch(32.5% 0.054 86.9);
Tailwind
colors: {
  custom: {
    50: '#77694f',
    500: '#40320f',
    950: '#000000',
  },
}
SCSS
$custom: #40320f;
$custom-light: #77694f;
$custom-dark: #000000;
JSON
{
  "hex": "#40320f",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 15
  },
  "hsl": {
    "h": 42.857,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.3248,
    "c": 0.05416,
    "h": 86.9
  },
  "luminance": 0.03406
}

Semantic roles & 50–950 ramp

primary
#40320F
secondary
#30467A
accent
#71E543
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090602
muted
#7B7A78

Preview Lab

Preview with #40320F

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

Preview Lab → · Contrast checker → · Palette generator →

#40320F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva