#402D09#402D09

#402D09 is a dark, muted orange. Relative luminance 0.030; OKLCH L 31.2% C 0.057 H 79.3°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#402D09
RGBrgb(64, 45, 9)
HSLhsl(39, 75%, 14%)
HSVhsv(39, 86%, 25%)
CMYKcmyk(0%, 29.7%, 85.9%, 74.9%)
CIE-LABlab(19.99, 4.66, 24.86)
CIE-LCHlch(19.99, 25.29, 79.39°)
OKLaboklab(31.2% 0.0105 0.0558)
OKLCHoklch(31.2% 0.057 79.3)
XYZxyz(3.1023, 2.9867, 0.6715)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402D09 #091C40
analogous
#401209 #402D09 #384009
triadic
#402D09 #09402D #2D0940
tetradic
#402D09 #094012 #091C40 #400938
square
#402D09 #094012 #091C40 #400938
split-complementary
#402D09 #093840 #120940
monochromatic
#1B1304 #1B1304 #402D09 #765311 #AB7818

Accessibility & contrast

On white

13.15
#402D09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#402D09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402D09
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402D09#FFFFFF#000000##FFFFFF
##402D091.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D05
Deuteranopia (green-blind)
#39320A
Tritanopia (blue-blind)
#462826
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #402d09;
/* rgb */ color: rgb(64, 45, 9);
/* oklch */ color: oklch(31.2% 0.057 79.3);
Tailwind
colors: {
  custom: {
    50: '#78654b',
    500: '#402d09',
    950: '#000000',
  },
}
SCSS
$custom: #402d09;
$custom-light: #78654b;
$custom-dark: #000000;
JSON
{
  "hex": "#402d09",
  "rgb": {
    "r": 64,
    "g": 45,
    "b": 9
  },
  "hsl": {
    "h": 39.273,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.31198,
    "c": 0.05681,
    "h": 79.3
  },
  "luminance": 0.02986
}

Semantic roles & 50–950 ramp

primary
#402D09
secondary
#27457E
accent
#77F236
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090501
muted
#7B7A77

Preview Lab

Preview with #402D09

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

Preview Lab → · Contrast checker → · Palette generator →

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