#402C20#402C20

#402C20 is a dark, muted orange. Relative luminance 0.030; OKLCH L 31.3% C 0.036 H 52.0°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#402C20
RGBrgb(64, 44, 32)
HSLhsl(23, 33%, 19%)
HSVhsv(23, 50%, 25%)
CMYKcmyk(0%, 31.2%, 50%, 74.9%)
CIE-LABlab(20.03, 7.43, 11.43)
CIE-LCHlch(20.03, 13.63, 57.00°)
OKLaboklab(31.34% 0.0222 0.0284)
OKLCHoklch(31.34% 0.036 52)
XYZxyz(3.2759, 2.9959, 1.7719)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402C20 #203440
analogous
#402024 #402C20 #403C20
triadic
#402C20 #20402C #2C2040
tetradic
#402C20 #244020 #203440 #3C2040
square
#402C20 #244020 #203440 #3C2040
split-complementary
#402C20 #20403C #202440
monochromatic
#140E0A #17100C #402C20 #694834 #926449

Accessibility & contrast

On white

13.13
#402C20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#402C20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402C20
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402C20#FFFFFF#000000##FFFFFF
##402C201.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322E1F
Deuteranopia (green-blind)
#363220
Tritanopia (blue-blind)
#452829
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #402c20;
/* rgb */ color: rgb(64, 44, 32);
/* oklch */ color: oklch(31.3% 0.036 52.0);
Tailwind
colors: {
  custom: {
    50: '#76655b',
    500: '#402c20',
    950: '#000000',
  },
}
SCSS
$custom: #402c20;
$custom-light: #76655b;
$custom-dark: #000000;
JSON
{
  "hex": "#402c20",
  "rgb": {
    "r": 64,
    "g": 44,
    "b": 32
  },
  "hsl": {
    "h": 22.5,
    "s": 33.333,
    "l": 18.824
  },
  "oklch": {
    "l": 0.31336,
    "c": 0.03609,
    "h": 52
  },
  "luminance": 0.02996
}

Semantic roles & 50–950 ramp

primary
#402C20
secondary
#486374
accent
#A1C95E
background
#F7F6F5
surface
#EDEBE9
border
#C8C6C5
text
#080504
muted
#7B7A79

Preview Lab

Preview with #402C20

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

Preview Lab → · Contrast checker → · Palette generator →

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