#402E0C#402E0C

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

Color values

HEX#402E0C
RGBrgb(64, 46, 12)
HSLhsl(39, 68%, 15%)
HSVhsv(39, 81%, 25%)
CMYKcmyk(0%, 28.1%, 81.2%, 74.9%)
CIE-LABlab(20.33, 4.17, 23.97)
CIE-LCHlch(20.33, 24.33, 80.14°)
OKLaboklab(31.47% 0.0095 0.054)
OKLCHoklch(31.47% 0.055 80)
XYZxyz(3.1579, 3.0708, 0.7741)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402E0C #0C1E40
analogous
#40140C #402E0C #38400C
triadic
#402E0C #0C402E #2E0C40
tetradic
#402E0C #0C4014 #0C1E40 #400C38
square
#402E0C #0C4014 #0C1E40 #400C38
split-complementary
#402E0C #0C3840 #140C40
monochromatic
#1A1305 #1A1305 #402E0C #745316 #A7781F

Accessibility & contrast

On white

13.01
#402E0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#402E0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402E0C
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402E0C#FFFFFF#000000##FFFFFF
##402E0C1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E08
Deuteranopia (green-blind)
#39330D
Tritanopia (blue-blind)
#462927
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #402e0c;
/* rgb */ color: rgb(64, 46, 12);
/* oklch */ color: oklch(31.5% 0.055 80.0);
Tailwind
colors: {
  custom: {
    50: '#77664d',
    500: '#402e0c',
    950: '#000000',
  },
}
SCSS
$custom: #402e0c;
$custom-light: #77664d;
$custom-dark: #000000;
JSON
{
  "hex": "#402e0c",
  "rgb": {
    "r": 64,
    "g": 46,
    "b": 12
  },
  "hsl": {
    "h": 39.231,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.31468,
    "c": 0.05485,
    "h": 80
  },
  "luminance": 0.03071
}

Semantic roles & 50–950 ramp

primary
#402E0C
secondary
#2C487C
accent
#79EB3D
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090501
muted
#7B7A77

Preview Lab

Preview with #402E0C

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

Preview Lab → · Contrast checker → · Palette generator →

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