#402A0E#402A0E

#402A0E is a dark, muted orange. Relative luminance 0.028; OKLCH L 30.5% C 0.053 H 69.9°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#402A0E
RGBrgb(64, 42, 14)
HSLhsl(34, 64%, 15%)
HSVhsv(34, 78%, 25%)
CMYKcmyk(0%, 34.4%, 78.1%, 74.9%)
CIE-LABlab(19.13, 6.97, 21.65)
CIE-LCHlch(19.13, 22.74, 72.16°)
OKLaboklab(30.54% 0.0181 0.0494)
OKLCHoklch(30.54% 0.053 69.9)
XYZxyz(3.0218, 2.7779, 0.7924)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402A0E #0E2440
analogous
#40110E #402A0E #3D400E
triadic
#402A0E #0E402A #2A0E40
tetradic
#402A0E #0E4011 #0E2440 #400E3D
square
#402A0E #0E4011 #0E2440 #400E3D
split-complementary
#402A0E #0E3D40 #110E40
monochromatic
#191005 #191005 #402A0E #724B19 #A46C24

Accessibility & contrast

On white

13.50
#402A0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#402A0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402A0E
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402A0E#FFFFFF#000000##FFFFFF
##402A0E1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B0B
Deuteranopia (green-blind)
#37310F
Tritanopia (blue-blind)
#462524
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #402a0e;
/* rgb */ color: rgb(64, 42, 14);
/* oklch */ color: oklch(30.5% 0.053 69.9);
Tailwind
colors: {
  custom: {
    50: '#77634e',
    500: '#402a0e',
    950: '#000000',
  },
}
SCSS
$custom: #402a0e;
$custom-light: #77634e;
$custom-dark: #000000;
JSON
{
  "hex": "#402a0e",
  "rgb": {
    "r": 64,
    "g": 42,
    "b": 14
  },
  "hsl": {
    "h": 33.6,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.30542,
    "c": 0.05264,
    "h": 69.9
  },
  "luminance": 0.02778
}

Semantic roles & 50–950 ramp

primary
#402A0E
secondary
#2F507B
accent
#8AE741
background
#F7F5F4
surface
#EDEAE7
border
#C8C6C3
text
#090501
muted
#7B7977

Preview Lab

Preview with #402A0E

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

Preview Lab → · Contrast checker → · Palette generator →

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