#402A09#402A09

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

Color values

HEX#402A09
RGBrgb(64, 42, 9)
HSLhsl(36, 75%, 14%)
HSVhsv(36, 86%, 25%)
CMYKcmyk(0%, 34.4%, 85.9%, 74.9%)
CIE-LABlab(19.08, 6.66, 23.82)
CIE-LCHlch(19.08, 24.73, 74.38°)
OKLaboklab(30.49% 0.0163 0.0539)
OKLCHoklch(30.49% 0.056 73.1)
XYZxyz(2.9918, 2.7659, 0.6347)
Luminance0.0277 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402A09 #091F40
analogous
#400F09 #402A09 #3B4009
triadic
#402A09 #09402A #2A0940
tetradic
#402A09 #09400F #091F40 #40093B
square
#402A09 #09400F #091F40 #40093B
split-complementary
#402A09 #093B40 #0F0940
monochromatic
#1B1204 #1B1204 #402A09 #764D11 #AB7018

Accessibility & contrast

On white

13.52
#402A09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #402A09
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402A09#FFFFFF#000000##FFFFFF
##402A091.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B05
Deuteranopia (green-blind)
#37300A
Tritanopia (blue-blind)
#462423
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #402a09;
/* rgb */ color: rgb(64, 42, 9);
/* oklch */ color: oklch(30.5% 0.056 73.1);
Tailwind
colors: {
  custom: {
    50: '#78634b',
    500: '#402a09',
    950: '#000000',
  },
}
SCSS
$custom: #402a09;
$custom-light: #78634b;
$custom-dark: #000000;
JSON
{
  "hex": "#402a09",
  "rgb": {
    "r": 64,
    "g": 42,
    "b": 9
  },
  "hsl": {
    "h": 36,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.30487,
    "c": 0.05636,
    "h": 73.1
  },
  "luminance": 0.02766
}

Semantic roles & 50–950 ramp

primary
#402A09
secondary
#274A7E
accent
#81F236
background
#F7F5F4
surface
#EEEAE7
border
#C9C6C3
text
#090501
muted
#7B7977

Preview Lab

Preview with #402A09

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

Preview Lab → · Contrast checker → · Palette generator →

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