#402A05#402A05

#402A05 is a dark, muted orange. Relative luminance 0.028; OKLCH L 30.4% C 0.059 H 75.4°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#402A05
RGBrgb(64, 42, 5)
HSLhsl(38, 86%, 14%)
HSVhsv(38, 92%, 25%)
CMYKcmyk(0%, 34.4%, 92.2%, 74.9%)
CIE-LABlab(19.04, 6.43, 25.41)
CIE-LCHlch(19.04, 26.21, 75.79°)
OKLaboklab(30.45% 0.015 0.0574)
OKLCHoklch(30.45% 0.059 75.4)
XYZxyz(2.9699, 2.7571, 0.5193)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402A05 #051B40
analogous
#400C05 #402A05 #384005
triadic
#402A05 #05402A #2A0540
tetradic
#402A05 #05400C #051B40 #400538
square
#402A05 #05400C #051B40 #400538
split-complementary
#402A05 #053840 #0C0540
monochromatic
#1C1302 #1C1302 #402A05 #794F09 #B2750E

Accessibility & contrast

On white

13.54
#402A05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#402A05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402A05
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402A05#FFFFFF#000000##FFFFFF
##402A051.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B01
Deuteranopia (green-blind)
#373006
Tritanopia (blue-blind)
#472423
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #402a05;
/* rgb */ color: rgb(64, 42, 5);
/* oklch */ color: oklch(30.4% 0.059 75.4);
Tailwind
colors: {
  custom: {
    50: '#786349',
    500: '#402a05',
    950: '#000000',
  },
}
SCSS
$custom: #402a05;
$custom-light: #786349;
$custom-dark: #000000;
JSON
{
  "hex": "#402a05",
  "rgb": {
    "r": 64,
    "g": 42,
    "b": 5
  },
  "hsl": {
    "h": 37.627,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.30446,
    "c": 0.05932,
    "h": 75.4
  },
  "luminance": 0.02757
}

Semantic roles & 50–950 ramp

primary
#402A05
secondary
#204481
accent
#7AFC2C
background
#F7F5F4
surface
#EEEAE7
border
#C9C6C3
text
#090501
muted
#7B7977

Preview Lab

Preview with #402A05

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

Preview Lab → · Contrast checker → · Palette generator →

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