#402C22#402C22

#402C22 is a dark, muted orange. Relative luminance 0.030; OKLCH L 31.4% C 0.034 H 47.6°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#402C22
RGBrgb(64, 44, 34)
HSLhsl(20, 31%, 19%)
HSVhsv(20, 47%, 25%)
CMYKcmyk(0%, 31.2%, 46.9%, 74.9%)
CIE-LABlab(20.07, 7.70, 10.14)
CIE-LCHlch(20.07, 12.73, 52.81°)
OKLaboklab(31.39% 0.0232 0.0254)
OKLCHoklch(31.39% 0.034 47.6)
XYZxyz(3.3039, 3.0071, 1.9195)
Luminance0.0301 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402C22 #223640
analogous
#402227 #402C22 #403B22
triadic
#402C22 #22402C #2C2240
tetradic
#402C22 #274022 #223640 #3B2240
square
#402C22 #274022 #223640 #3B2240
split-complementary
#402C22 #22403B #222740
monochromatic
#140E0B #18110D #402C22 #684737 #90634C

Accessibility & contrast

On white

13.11
#402C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #402C22
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402C22#FFFFFF#000000##FFFFFF
##402C221.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312E21
Deuteranopia (green-blind)
#363222
Tritanopia (blue-blind)
#452929
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #402c22;
/* rgb */ color: rgb(64, 44, 34);
/* oklch */ color: oklch(31.4% 0.034 47.6);
Tailwind
colors: {
  custom: {
    50: '#76655d',
    500: '#402c22',
    950: '#000000',
  },
}
SCSS
$custom: #402c22;
$custom-light: #76655d;
$custom-dark: #000000;
JSON
{
  "hex": "#402c22",
  "rgb": {
    "r": 64,
    "g": 44,
    "b": 34
  },
  "hsl": {
    "h": 20,
    "s": 30.612,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31385,
    "c": 0.03445,
    "h": 47.6
  },
  "luminance": 0.03007
}

Semantic roles & 50–950 ramp

primary
#402C22
secondary
#4B6673
accent
#A5C761
background
#F7F6F5
surface
#EDEBE9
border
#C8C6C5
text
#080504
muted
#7B7A79

Preview Lab

Preview with #402C22

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

Preview Lab → · Contrast checker → · Palette generator →

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