#402604#402604

#402604 is a dark, moderate orange. Relative luminance 0.025; OKLCH L 29.5% C 0.060 H 68.2°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#402604
RGBrgb(64, 38, 4)
HSLhsl(34, 88%, 13%)
HSVhsv(34, 94%, 25%)
CMYKcmyk(0%, 40.6%, 93.8%, 74.9%)
CIE-LABlab(17.85, 9.05, 24.41)
CIE-LCHlch(17.85, 26.03, 69.65°)
OKLaboklab(29.52% 0.0224 0.0561)
OKLCHoklch(29.52% 0.06 68.2)
XYZxyz(2.8296, 2.4853, 0.4455)
Luminance0.0249 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402604 #041E40
analogous
#400804 #402604 #3C4004
triadic
#402604 #044026 #260440
tetradic
#402604 #044008 #041E40 #40043C
square
#402604 #044008 #041E40 #40043C
split-complementary
#402604 #043C40 #080440
monochromatic
#1D1102 #1D1102 #402604 #7A4808 #B36A0B

Accessibility & contrast

On white

14.03
#402604 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#402604 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402604
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402604#FFFFFF#000000##FFFFFF
##4026041.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#352E05
Tritanopia (blue-blind)
#47201F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #402604;
/* rgb */ color: rgb(64, 38, 4);
/* oklch */ color: oklch(29.5% 0.060 68.2);
Tailwind
colors: {
  custom: {
    50: '#786049',
    500: '#402604',
    950: '#000000',
  },
}
SCSS
$custom: #402604;
$custom-light: #786049;
$custom-dark: #000000;
JSON
{
  "hex": "#402604",
  "rgb": {
    "r": 64,
    "g": 38,
    "b": 4
  },
  "hsl": {
    "h": 34,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.29515,
    "c": 0.06039,
    "h": 68.2
  },
  "luminance": 0.02485
}

Semantic roles & 50–950 ramp

primary
#402604
secondary
#1F4981
accent
#86FE29
background
#F7F5F4
surface
#EEE9E6
border
#C9C5C2
text
#090400
muted
#7B7977

Preview Lab

Preview with #402604

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

Preview Lab → · Contrast checker → · Palette generator →

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