#402E09#402E09

#402E09 is a dark, muted orange. Relative luminance 0.031; OKLCH L 31.4% C 0.057 H 81.4°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#402E09
RGBrgb(64, 46, 9)
HSLhsl(40, 75%, 14%)
HSVhsv(40, 86%, 25%)
CMYKcmyk(0%, 28.1%, 85.9%, 74.9%)
CIE-LABlab(20.30, 3.99, 25.21)
CIE-LCHlch(20.30, 25.52, 81.00°)
OKLaboklab(31.44% 0.0086 0.0565)
OKLCHoklch(31.44% 0.057 81.4)
XYZxyz(3.1409, 3.0639, 0.6844)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402E09 #091B40
analogous
#401309 #402E09 #374009
triadic
#402E09 #09402E #2E0940
tetradic
#402E09 #094013 #091B40 #400937
square
#402E09 #094013 #091B40 #400937
split-complementary
#402E09 #093740 #130940
monochromatic
#1B1304 #1B1304 #402E09 #765511 #AB7B18

Accessibility & contrast

On white

13.02
#402E09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#402E09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402E09
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402E09#FFFFFF#000000##FFFFFF
##402E091.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E04
Deuteranopia (green-blind)
#3A330B
Tritanopia (blue-blind)
#462927
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #402e09;
/* rgb */ color: rgb(64, 46, 9);
/* oklch */ color: oklch(31.4% 0.057 81.4);
Tailwind
colors: {
  custom: {
    50: '#78664b',
    500: '#402e09',
    950: '#000000',
  },
}
SCSS
$custom: #402e09;
$custom-light: #78664b;
$custom-dark: #000000;
JSON
{
  "hex": "#402e09",
  "rgb": {
    "r": 64,
    "g": 46,
    "b": 9
  },
  "hsl": {
    "h": 40.364,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.31439,
    "c": 0.05711,
    "h": 81.4
  },
  "luminance": 0.03064
}

Semantic roles & 50–950 ramp

primary
#402E09
secondary
#27437E
accent
#73F236
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090501
muted
#7B7A77

Preview Lab

Preview with #402E09

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

Preview Lab → · Contrast checker → · Palette generator →

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