#402E11#402E11

#402E11 is a dark, muted orange. Relative luminance 0.031; OKLCH L 31.5% C 0.051 H 77.0°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#402E11
RGBrgb(64, 46, 17)
HSLhsl(37, 58%, 16%)
HSVhsv(37, 73%, 25%)
CMYKcmyk(0%, 28.1%, 73.4%, 74.9%)
CIE-LABlab(20.38, 4.52, 21.44)
CIE-LCHlch(20.38, 21.91, 78.10°)
OKLaboklab(31.53% 0.0114 0.0492)
OKLCHoklch(31.53% 0.051 77)
XYZxyz(3.1927, 3.0847, 0.9574)
Luminance0.0308 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402E11 #112340
analogous
#401611 #402E11 #3A4011
triadic
#402E11 #11402E #2E1140
tetradic
#402E11 #114016 #112340 #40113A
square
#402E11 #114016 #112340 #40113A
split-complementary
#402E11 #113A40 #161140
monochromatic
#181106 #181106 #402E11 #70511E #A1742B

Accessibility & contrast

On white

12.99
#402E11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#402E11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402E11
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402E11#FFFFFF#000000##FFFFFF
##402E111.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352F0E
Deuteranopia (green-blind)
#393312
Tritanopia (blue-blind)
#462928
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #402e11;
/* rgb */ color: rgb(64, 46, 17);
/* oklch */ color: oklch(31.5% 0.051 77.0);
Tailwind
colors: {
  custom: {
    50: '#776650',
    500: '#402e11',
    950: '#000000',
  },
}
SCSS
$custom: #402e11;
$custom-light: #776650;
$custom-dark: #000000;
JSON
{
  "hex": "#402e11",
  "rgb": {
    "r": 64,
    "g": 46,
    "b": 17
  },
  "hsl": {
    "h": 37.021,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.31529,
    "c": 0.05053,
    "h": 77
  },
  "luminance": 0.03084
}

Semantic roles & 50–950 ramp

primary
#402E11
secondary
#334E79
accent
#82E147
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090602
muted
#7B7A78

Preview Lab

Preview with #402E11

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

Preview Lab → · Contrast checker → · Palette generator →

#402E11 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva