#402403#402403

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

Color values

HEX#402403
RGBrgb(64, 36, 3)
HSLhsl(32, 91%, 13%)
HSVhsv(32, 95%, 25%)
CMYKcmyk(0%, 43.8%, 95.3%, 74.9%)
CIE-LABlab(17.27, 10.33, 24.11)
CIE-LCHlch(17.27, 26.23, 66.81°)
OKLaboklab(29.06% 0.0259 0.056)
OKLCHoklch(29.06% 0.062 65.2)
XYZxyz(2.7619, 2.3586, 0.3959)
Luminance0.0236 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402403 #031F40
analogous
#400503 #402403 #3D4003
triadic
#402403 #034024 #240340
tetradic
#402403 #034005 #031F40 #40033D
square
#402403 #034005 #031F40 #40033D
split-complementary
#402403 #033D40 #050340
monochromatic
#1D1001 #1D1001 #402403 #7A4506 #B56608

Accessibility & contrast

On white

14.27
#402403 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #402403
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402403#FFFFFF#000000##FFFFFF
##4024031.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2600
Deuteranopia (green-blind)
#342D03
Tritanopia (blue-blind)
#471D1E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #402403;
/* rgb */ color: rgb(64, 36, 3);
/* oklch */ color: oklch(29.1% 0.062 65.2);
Tailwind
colors: {
  custom: {
    50: '#785e48',
    500: '#402403',
    950: '#000000',
  },
}
SCSS
$custom: #402403;
$custom-light: #785e48;
$custom-dark: #000000;
JSON
{
  "hex": "#402403",
  "rgb": {
    "r": 64,
    "g": 36,
    "b": 3
  },
  "hsl": {
    "h": 32.459,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.29058,
    "c": 0.06169,
    "h": 65.2
  },
  "luminance": 0.02358
}

Semantic roles & 50–950 ramp

primary
#402403
secondary
#1D4B82
accent
#8BFF29
background
#F7F5F4
surface
#EEE9E6
border
#C9C5C2
text
#090400
muted
#7B7977

Preview Lab

Preview with #402403

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

Preview Lab → · Contrast checker → · Palette generator →

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