#402009#402009

#402009 is a dark, muted orange. Relative luminance 0.021; OKLCH L 28.3% C 0.060 H 53.0°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#402009
RGBrgb(64, 32, 9)
HSLhsl(25, 75%, 14%)
HSVhsv(25, 86%, 25%)
CMYKcmyk(0%, 50%, 85.9%, 74.9%)
CIE-LABlab(16.22, 13.31, 20.37)
CIE-LCHlch(16.22, 24.34, 56.84°)
OKLaboklab(28.27% 0.036 0.0478)
OKLCHoklch(28.27% 0.06 53)
XYZxyz(2.6804, 2.1430, 0.5309)
Luminance0.0214 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402009 #092940
analogous
#40090E #402009 #403C09
triadic
#402009 #094020 #200940
tetradic
#402009 #0E4009 #092940 #3C0940
square
#402009 #0E4009 #092940 #3C0940
split-complementary
#402009 #09403C #090E40
monochromatic
#1B0D04 #1B0D04 #402009 #763B11 #AB5618

Accessibility & contrast

On white

14.70
#402009 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#402009 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402009
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402009#FFFFFF#000000##FFFFFF
##4020091.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292407
Deuteranopia (green-blind)
#312B09
Tritanopia (blue-blind)
#47191B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #402009;
/* rgb */ color: rgb(64, 32, 9);
/* oklch */ color: oklch(28.3% 0.060 53.0);
Tailwind
colors: {
  custom: {
    50: '#785b4b',
    500: '#402009',
    950: '#000000',
  },
}
SCSS
$custom: #402009;
$custom-light: #785b4b;
$custom-dark: #000000;
JSON
{
  "hex": "#402009",
  "rgb": {
    "r": 64,
    "g": 32,
    "b": 9
  },
  "hsl": {
    "h": 25.091,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.2827,
    "c": 0.05989,
    "h": 53
  },
  "luminance": 0.02143
}

Semantic roles & 50–950 ramp

primary
#402009
secondary
#275A7E
accent
#A3F236
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090401
muted
#7B7977

Preview Lab

Preview with #402009

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

Preview Lab → · Contrast checker → · Palette generator →

#402009 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva