#402E20#402E20

#402E20 is a dark, muted orange. Relative luminance 0.031; OKLCH L 31.8% C 0.035 H 58.9°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#402E20
RGBrgb(64, 46, 32)
HSLhsl(26, 33%, 19%)
HSVhsv(26, 50%, 25%)
CMYKcmyk(0%, 28.1%, 50%, 74.9%)
CIE-LABlab(20.63, 6.09, 12.23)
CIE-LCHlch(20.63, 13.66, 63.54°)
OKLaboklab(31.8% 0.0183 0.0303)
OKLCHoklch(31.8% 0.035 58.9)
XYZxyz(3.3522, 3.1485, 1.7974)
Luminance0.0315 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402E20 #203240
analogous
#402022 #402E20 #403E20
triadic
#402E20 #20402E #2E2040
tetradic
#402E20 #224020 #203240 #3E2040
square
#402E20 #224020 #203240 #3E2040
split-complementary
#402E20 #20403E #202240
monochromatic
#140F0A #17110C #402E20 #694B34 #926949

Accessibility & contrast

On white

12.89
#402E20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#402E20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402E20
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402E20#FFFFFF#000000##FFFFFF
##402E201.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332F1F
Deuteranopia (green-blind)
#383320
Tritanopia (blue-blind)
#452A2A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #402e20;
/* rgb */ color: rgb(64, 46, 32);
/* oklch */ color: oklch(31.8% 0.035 58.9);
Tailwind
colors: {
  custom: {
    50: '#76665b',
    500: '#402e20',
    950: '#000000',
  },
}
SCSS
$custom: #402e20;
$custom-light: #76665b;
$custom-dark: #000000;
JSON
{
  "hex": "#402e20",
  "rgb": {
    "r": 64,
    "g": 46,
    "b": 32
  },
  "hsl": {
    "h": 26.25,
    "s": 33.333,
    "l": 18.824
  },
  "oklch": {
    "l": 0.31804,
    "c": 0.03535,
    "h": 58.9
  },
  "luminance": 0.03148
}

Semantic roles & 50–950 ramp

primary
#402E20
secondary
#486174
accent
#9BC95E
background
#F7F6F5
surface
#EDEBE9
border
#C8C6C5
text
#080604
muted
#7B7A79

Preview Lab

Preview with #402E20

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

Preview Lab → · Contrast checker → · Palette generator →

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