#402503#402503

#402503 is a dark, moderate orange. Relative luminance 0.024; OKLCH L 29.3% C 0.061 H 67.0°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#402503
RGBrgb(64, 37, 3)
HSLhsl(33, 91%, 13%)
HSVhsv(33, 95%, 25%)
CMYKcmyk(0%, 42.2%, 95.3%, 74.9%)
CIE-LABlab(17.55, 9.66, 24.45)
CIE-LCHlch(17.55, 26.29, 68.44°)
OKLaboklab(29.28% 0.024 0.0565)
OKLCHoklch(29.28% 0.061 67)
XYZxyz(2.7926, 2.4200, 0.4062)
Luminance0.0242 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402503 #031E40
analogous
#400703 #402503 #3C4003
triadic
#402503 #034025 #250340
tetradic
#402503 #034007 #031E40 #40033C
square
#402503 #034007 #031E40 #40033C
split-complementary
#402503 #033C40 #070340
monochromatic
#1D1101 #1D1101 #402503 #7A4706 #B56908

Accessibility & contrast

On white

14.15
#402503 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#402503 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402503
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402503#FFFFFF#000000##FFFFFF
##4025031.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#342E04
Tritanopia (blue-blind)
#471E1E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #402503;
/* rgb */ color: rgb(64, 37, 3);
/* oklch */ color: oklch(29.3% 0.061 67.0);
Tailwind
colors: {
  custom: {
    50: '#785f48',
    500: '#402503',
    950: '#000000',
  },
}
SCSS
$custom: #402503;
$custom-light: #785f48;
$custom-dark: #000000;
JSON
{
  "hex": "#402503",
  "rgb": {
    "r": 64,
    "g": 37,
    "b": 3
  },
  "hsl": {
    "h": 33.443,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.29279,
    "c": 0.06138,
    "h": 67
  },
  "luminance": 0.0242
}

Semantic roles & 50–950 ramp

primary
#402503
secondary
#1D4A82
accent
#88FF29
background
#F7F5F4
surface
#EEE9E6
border
#C9C5C2
text
#090400
muted
#7B7977

Preview Lab

Preview with #402503

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

Preview Lab → · Contrast checker → · Palette generator →

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