#402C0C#402C0C

#402C0C is a dark, muted orange. Relative luminance 0.029; OKLCH L 31.0% C 0.054 H 75.7°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#402C0C
RGBrgb(64, 44, 12)
HSLhsl(37, 68%, 15%)
HSVhsv(37, 81%, 25%)
CMYKcmyk(0%, 31.2%, 81.2%, 74.9%)
CIE-LABlab(19.71, 5.50, 23.28)
CIE-LCHlch(19.71, 23.92, 76.71°)
OKLaboklab(30.99% 0.0134 0.0527)
OKLCHoklch(30.99% 0.054 75.7)
XYZxyz(3.0816, 2.9181, 0.7487)
Luminance0.0292 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402C0C #0C2040
analogous
#40120C #402C0C #3A400C
triadic
#402C0C #0C402C #2C0C40
tetradic
#402C0C #0C4012 #0C2040 #400C3A
square
#402C0C #0C4012 #0C2040 #400C3A
split-complementary
#402C0C #0C3A40 #120C40
monochromatic
#1A1205 #1A1205 #402C0C #744F16 #A7731F

Accessibility & contrast

On white

13.26
#402C0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#402C0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402C0C
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402C0C#FFFFFF#000000##FFFFFF
##402C0C1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D08
Deuteranopia (green-blind)
#38320D
Tritanopia (blue-blind)
#462725
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #402c0c;
/* rgb */ color: rgb(64, 44, 12);
/* oklch */ color: oklch(31.0% 0.054 75.7);
Tailwind
colors: {
  custom: {
    50: '#78644d',
    500: '#402c0c',
    950: '#000000',
  },
}
SCSS
$custom: #402c0c;
$custom-light: #78644d;
$custom-dark: #000000;
JSON
{
  "hex": "#402c0c",
  "rgb": {
    "r": 64,
    "g": 44,
    "b": 12
  },
  "hsl": {
    "h": 36.923,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.30989,
    "c": 0.05436,
    "h": 75.7
  },
  "luminance": 0.02918
}

Semantic roles & 50–950 ramp

primary
#402C0C
secondary
#2C4B7C
accent
#80EB3D
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090501
muted
#7B7A77

Preview Lab

Preview with #402C0C

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

Preview Lab → · Contrast checker → · Palette generator →

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