#402B05#402B05

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

Color values

HEX#402B05
RGBrgb(64, 43, 5)
HSLhsl(39, 86%, 14%)
HSVhsv(39, 92%, 25%)
CMYKcmyk(0%, 32.8%, 92.2%, 74.9%)
CIE-LABlab(19.35, 5.76, 25.76)
CIE-LCHlch(19.35, 26.39, 77.38°)
OKLaboklab(30.68% 0.013 0.058)
OKLCHoklch(30.68% 0.059 77.3)
XYZxyz(3.0058, 2.8290, 0.5313)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402B05 #051A40
analogous
#400D05 #402B05 #374005
triadic
#402B05 #05402B #2B0540
tetradic
#402B05 #05400D #051A40 #400537
square
#402B05 #05400D #051A40 #400537
split-complementary
#402B05 #053740 #0D0540
monochromatic
#1C1302 #1C1302 #402B05 #795109 #B2770E

Accessibility & contrast

On white

13.41
#402B05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#402B05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402B05
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402B05#FFFFFF#000000##FFFFFF
##402B051.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C01
Deuteranopia (green-blind)
#383106
Tritanopia (blue-blind)
#472524
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #402b05;
/* rgb */ color: rgb(64, 43, 5);
/* oklch */ color: oklch(30.7% 0.059 77.3);
Tailwind
colors: {
  custom: {
    50: '#786449',
    500: '#402b05',
    950: '#000000',
  },
}
SCSS
$custom: #402b05;
$custom-light: #786449;
$custom-dark: #000000;
JSON
{
  "hex": "#402b05",
  "rgb": {
    "r": 64,
    "g": 43,
    "b": 5
  },
  "hsl": {
    "h": 38.644,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.30681,
    "c": 0.05943,
    "h": 77.3
  },
  "luminance": 0.02829
}

Semantic roles & 50–950 ramp

primary
#402B05
secondary
#204381
accent
#76FC2C
background
#F7F5F4
surface
#EEEAE7
border
#C9C6C3
text
#090501
muted
#7B7977

Preview Lab

Preview with #402B05

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

Preview Lab → · Contrast checker → · Palette generator →

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