#402B06#402B06

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

Color values

HEX#402B06
RGBrgb(64, 43, 6)
HSLhsl(38, 83%, 14%)
HSVhsv(38, 91%, 25%)
CMYKcmyk(0%, 32.8%, 90.6%, 74.9%)
CIE-LABlab(19.35, 5.82, 25.36)
CIE-LCHlch(19.35, 26.02, 77.07°)
OKLaboklab(30.69% 0.0134 0.0571)
OKLCHoklch(30.69% 0.059 76.8)
XYZxyz(3.0113, 2.8311, 0.5601)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402B06 #061B40
analogous
#400E06 #402B06 #384006
triadic
#402B06 #06402B #2B0640
tetradic
#402B06 #06400E #061B40 #400638
square
#402B06 #06400E #061B40 #400638
split-complementary
#402B06 #063840 #0E0640
monochromatic
#1C1303 #1C1303 #402B06 #78510B #B07610

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##402B06#FFFFFF#000000##FFFFFF
##402B061.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)
#332C02
Deuteranopia (green-blind)
#383107
Tritanopia (blue-blind)
#472524
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #402b06;
/* rgb */ color: rgb(64, 43, 6);
/* oklch */ color: oklch(30.7% 0.059 76.8);
Tailwind
colors: {
  custom: {
    50: '#78644a',
    500: '#402b06',
    950: '#000000',
  },
}
SCSS
$custom: #402b06;
$custom-light: #78644a;
$custom-dark: #000000;
JSON
{
  "hex": "#402b06",
  "rgb": {
    "r": 64,
    "g": 43,
    "b": 6
  },
  "hsl": {
    "h": 38.276,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.30691,
    "c": 0.05866,
    "h": 76.8
  },
  "luminance": 0.02831
}

Semantic roles & 50–950 ramp

primary
#402B06
secondary
#224480
accent
#78F92F
background
#F7F5F4
surface
#EEEAE7
border
#C9C6C3
text
#090501
muted
#7B7977

Preview Lab

Preview with #402B06

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

Preview Lab → · Contrast checker → · Palette generator →

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