#403117#403117

#403117 is a dark, muted orange. Relative luminance 0.033; OKLCH L 32.3% C 0.046 H 79.8°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#403117
RGBrgb(64, 49, 23)
HSLhsl(38, 47%, 17%)
HSVhsv(38, 64%, 25%)
CMYKcmyk(0%, 23.4%, 64.1%, 74.9%)
CIE-LABlab(21.39, 3.06, 19.00)
CIE-LCHlch(21.39, 19.24, 80.85°)
OKLaboklab(32.35% 0.0081 0.0448)
OKLCHoklch(32.35% 0.046 79.8)
XYZxyz(3.3675, 3.3487, 1.2794)
Luminance0.0335 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403117 #172640
analogous
#401D17 #403117 #3B4017
triadic
#403117 #174031 #311740
tetradic
#403117 #17401D #172640 #40173B
square
#403117 #17401D #172640 #40173B
split-complementary
#403117 #173B40 #1D1740
monochromatic
#171108 #171108 #403117 #6D5327 #9A7637

Accessibility & contrast

On white

12.58
#403117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#403117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403117
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403117#FFFFFF#000000##FFFFFF
##4031171.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373115
Deuteranopia (green-blind)
#3B3518
Tritanopia (blue-blind)
#462D2B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #403117;
/* rgb */ color: rgb(64, 49, 23);
/* oklch */ color: oklch(32.3% 0.046 79.8);
Tailwind
colors: {
  custom: {
    50: '#766854',
    500: '#403117',
    950: '#000000',
  },
}
SCSS
$custom: #403117;
$custom-light: #766854;
$custom-dark: #000000;
JSON
{
  "hex": "#403117",
  "rgb": {
    "r": 64,
    "g": 49,
    "b": 23
  },
  "hsl": {
    "h": 38.049,
    "s": 47.126,
    "l": 17.059
  },
  "oklch": {
    "l": 0.32346,
    "c": 0.04555,
    "h": 79.8
  },
  "luminance": 0.03348
}

Semantic roles & 50–950 ramp

primary
#403117
secondary
#3C5177
accent
#82D751
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090603
muted
#7B7A78

Preview Lab

Preview with #403117

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

Preview Lab → · Contrast checker → · Palette generator →

#403117 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva