#402B09#402B09

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

Color values

HEX#402B09
RGBrgb(64, 43, 9)
HSLhsl(37, 75%, 14%)
HSVhsv(37, 86%, 25%)
CMYKcmyk(0%, 32.8%, 85.9%, 74.9%)
CIE-LABlab(19.38, 5.99, 24.17)
CIE-LCHlch(19.38, 24.90, 76.07°)
OKLaboklab(30.72% 0.0144 0.0546)
OKLCHoklch(30.72% 0.056 75.2)
XYZxyz(3.0278, 2.8377, 0.6467)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402B09 #091E40
analogous
#401009 #402B09 #3A4009
triadic
#402B09 #09402B #2B0940
tetradic
#402B09 #094010 #091E40 #40093A
square
#402B09 #094010 #091E40 #40093A
split-complementary
#402B09 #093A40 #100940
monochromatic
#1B1204 #1B1204 #402B09 #764F11 #AB7318

Accessibility & contrast

On white

13.40
#402B09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #402B09
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402B09#FFFFFF#000000##FFFFFF
##402B091.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C05
Deuteranopia (green-blind)
#38310A
Tritanopia (blue-blind)
#462524
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #402b09;
/* rgb */ color: rgb(64, 43, 9);
/* oklch */ color: oklch(30.7% 0.056 75.2);
Tailwind
colors: {
  custom: {
    50: '#78644b',
    500: '#402b09',
    950: '#000000',
  },
}
SCSS
$custom: #402b09;
$custom-light: #78644b;
$custom-dark: #000000;
JSON
{
  "hex": "#402b09",
  "rgb": {
    "r": 64,
    "g": 43,
    "b": 9
  },
  "hsl": {
    "h": 37.091,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.30722,
    "c": 0.05644,
    "h": 75.2
  },
  "luminance": 0.02837
}

Semantic roles & 50–950 ramp

primary
#402B09
secondary
#27487E
accent
#7EF236
background
#F7F5F4
surface
#EDEAE7
border
#C8C6C3
text
#090501
muted
#7B7977

Preview Lab

Preview with #402B09

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

Preview Lab → · Contrast checker → · Palette generator →

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