#402A06#402A06

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

Color values

HEX#402A06
RGBrgb(64, 42, 6)
HSLhsl(37, 83%, 14%)
HSVhsv(37, 91%, 25%)
CMYKcmyk(0%, 34.4%, 90.6%, 74.9%)
CIE-LABlab(19.05, 6.49, 25.01)
CIE-LCHlch(19.05, 25.84, 75.45°)
OKLaboklab(30.46% 0.0153 0.0565)
OKLCHoklch(30.46% 0.059 74.8)
XYZxyz(2.9754, 2.7593, 0.5482)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402A06 #061C40
analogous
#400D06 #402A06 #394006
triadic
#402A06 #06402A #2A0640
tetradic
#402A06 #06400D #061C40 #400639
square
#402A06 #06400D #061C40 #400639
split-complementary
#402A06 #063940 #0D0640
monochromatic
#1C1203 #1C1203 #402A06 #784F0B #B07310

Accessibility & contrast

On white

13.53
#402A06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #402A06
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402A06#FFFFFF#000000##FFFFFF
##402A061.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #402a06;
/* rgb */ color: rgb(64, 42, 6);
/* oklch */ color: oklch(30.5% 0.059 74.8);
Tailwind
colors: {
  custom: {
    50: '#78634a',
    500: '#402a06',
    950: '#000000',
  },
}
SCSS
$custom: #402a06;
$custom-light: #78634a;
$custom-dark: #000000;
JSON
{
  "hex": "#402a06",
  "rgb": {
    "r": 64,
    "g": 42,
    "b": 6
  },
  "hsl": {
    "h": 37.241,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.30456,
    "c": 0.05856,
    "h": 74.8
  },
  "luminance": 0.02759
}

Semantic roles & 50–950 ramp

primary
#402A06
secondary
#224680
accent
#7BF92F
background
#F7F5F4
surface
#EEEAE7
border
#C9C6C3
text
#090501
muted
#7B7977

Preview Lab

Preview with #402A06

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

Preview Lab → · Contrast checker → · Palette generator →

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