#402811#402811

#402811 is a dark, muted orange. Relative luminance 0.026; OKLCH L 30.1% C 0.051 H 62.6°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#402811
RGBrgb(64, 40, 17)
HSLhsl(29, 58%, 16%)
HSVhsv(29, 73%, 25%)
CMYKcmyk(0%, 37.5%, 73.4%, 74.9%)
CIE-LABlab(18.58, 8.53, 19.37)
CIE-LCHlch(18.58, 21.17, 66.24°)
OKLaboklab(30.12% 0.0232 0.0449)
OKLCHoklch(30.12% 0.051 62.6)
XYZxyz(2.9745, 2.6483, 0.8847)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402811 #112940
analogous
#401111 #402811 #403F11
triadic
#402811 #114028 #281140
tetradic
#402811 #114011 #112940 #3F1140
square
#402811 #114011 #112940 #3F1140
split-complementary
#402811 #11403F #111140
monochromatic
#180F06 #180F06 #402811 #70461E #A1642B

Accessibility & contrast

On white

13.73
#402811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#402811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402811
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402811#FFFFFF#000000##FFFFFF
##4028111.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A0F
Deuteranopia (green-blind)
#352F11
Tritanopia (blue-blind)
#462323
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #402811;
/* rgb */ color: rgb(64, 40, 17);
/* oklch */ color: oklch(30.1% 0.051 62.6);
Tailwind
colors: {
  custom: {
    50: '#776150',
    500: '#402811',
    950: '#000000',
  },
}
SCSS
$custom: #402811;
$custom-light: #776150;
$custom-dark: #000000;
JSON
{
  "hex": "#402811",
  "rgb": {
    "r": 64,
    "g": 40,
    "b": 17
  },
  "hsl": {
    "h": 29.362,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.30122,
    "c": 0.05051,
    "h": 62.6
  },
  "luminance": 0.02648
}

Semantic roles & 50–950 ramp

primary
#402811
secondary
#335779
accent
#96E147
background
#F7F5F4
surface
#EDEAE7
border
#C8C6C3
text
#090502
muted
#7B7978

Preview Lab

Preview with #402811

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

Preview Lab → · Contrast checker → · Palette generator →

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