#402A0F#402A0F

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

Color values

HEX#402A0F
RGBrgb(64, 42, 15)
HSLhsl(33, 62%, 15%)
HSVhsv(33, 77%, 25%)
CMYKcmyk(0%, 34.4%, 76.6%, 74.9%)
CIE-LABlab(19.14, 7.04, 21.15)
CIE-LCHlch(19.14, 22.29, 71.59°)
OKLaboklab(30.56% 0.0185 0.0484)
OKLCHoklch(30.56% 0.052 69.1)
XYZxyz(3.0287, 2.7807, 0.8290)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402A0F #0F2540
analogous
#40110F #402A0F #3D400F
triadic
#402A0F #0F402A #2A0F40
tetradic
#402A0F #0F4011 #0F2540 #400F3D
square
#402A0F #0F4011 #0F2540 #400F3D
split-complementary
#402A0F #0F3D40 #110F40
monochromatic
#191006 #191006 #402A0F #724B1B #A36B26

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##402A0F#FFFFFF#000000##FFFFFF
##402A0F1.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)
#312B0C
Deuteranopia (green-blind)
#373110
Tritanopia (blue-blind)
#462524
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #402a0f;
/* rgb */ color: rgb(64, 42, 15);
/* oklch */ color: oklch(30.6% 0.052 69.1);
Tailwind
colors: {
  custom: {
    50: '#77634e',
    500: '#402a0f',
    950: '#000000',
  },
}
SCSS
$custom: #402a0f;
$custom-light: #77634e;
$custom-dark: #000000;
JSON
{
  "hex": "#402a0f",
  "rgb": {
    "r": 64,
    "g": 42,
    "b": 15
  },
  "hsl": {
    "h": 33.061,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.30555,
    "c": 0.05183,
    "h": 69.1
  },
  "luminance": 0.0278
}

Semantic roles & 50–950 ramp

primary
#402A0F
secondary
#30527A
accent
#8CE543
background
#F7F5F4
surface
#EDEAE7
border
#C8C6C3
text
#090501
muted
#7B7977

Preview Lab

Preview with #402A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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