#402405#402405

#402405 is a dark, moderate orange. Relative luminance 0.024; OKLCH L 29.1% C 0.060 H 63.7°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#402405
RGBrgb(64, 36, 5)
HSLhsl(32, 86%, 14%)
HSVhsv(32, 92%, 25%)
CMYKcmyk(0%, 43.8%, 92.2%, 74.9%)
CIE-LABlab(17.29, 10.44, 23.32)
CIE-LCHlch(17.29, 25.55, 65.88°)
OKLaboklab(29.08% 0.0267 0.054)
OKLCHoklch(29.08% 0.06 63.7)
XYZxyz(2.7729, 2.3630, 0.4536)
Luminance0.0236 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402405 #052140
analogous
#400605 #402405 #3E4005
triadic
#402405 #054024 #240540
tetradic
#402405 #054006 #052140 #40053E
square
#402405 #054006 #052140 #40053E
split-complementary
#402405 #053E40 #060540
monochromatic
#1C1002 #1C1002 #402405 #794409 #B2640E

Accessibility & contrast

On white

14.26
#402405 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#402405 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402405
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402405#FFFFFF#000000##FFFFFF
##4024051.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2702
Deuteranopia (green-blind)
#332D05
Tritanopia (blue-blind)
#471D1E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #402405;
/* rgb */ color: rgb(64, 36, 5);
/* oklch */ color: oklch(29.1% 0.060 63.7);
Tailwind
colors: {
  custom: {
    50: '#785e49',
    500: '#402405',
    950: '#000000',
  },
}
SCSS
$custom: #402405;
$custom-light: #785e49;
$custom-dark: #000000;
JSON
{
  "hex": "#402405",
  "rgb": {
    "r": 64,
    "g": 36,
    "b": 5
  },
  "hsl": {
    "h": 31.525,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.2908,
    "c": 0.06025,
    "h": 63.7
  },
  "luminance": 0.02363
}

Semantic roles & 50–950 ramp

primary
#402405
secondary
#204E81
accent
#8FFC2C
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090401
muted
#7B7977

Preview Lab

Preview with #402405

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

Preview Lab → · Contrast checker → · Palette generator →

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