#402304#402304

#402304 is a dark, moderate orange. Relative luminance 0.023; OKLCH L 28.8% C 0.061 H 62.6°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#402304
RGBrgb(64, 35, 4)
HSLhsl(31, 88%, 13%)
HSVhsv(31, 94%, 25%)
CMYKcmyk(0%, 45.3%, 93.8%, 74.9%)
CIE-LABlab(16.99, 11.05, 23.37)
CIE-LCHlch(16.99, 25.85, 64.69°)
OKLaboklab(28.85% 0.0283 0.0545)
OKLCHoklch(28.85% 0.061 62.6)
XYZxyz(2.7375, 2.3011, 0.4148)
Luminance0.0230 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402304 #042140
analogous
#400504 #402304 #3F4004
triadic
#402304 #044023 #230440
tetradic
#402304 #044005 #042140 #40043F
square
#402304 #044005 #042140 #40043F
split-complementary
#402304 #043F40 #050440
monochromatic
#1D1002 #1D1002 #402304 #7A4208 #B3620B

Accessibility & contrast

On white

14.38
#402304 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#402304 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402304
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402304#FFFFFF#000000##FFFFFF
##4023041.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2601
Deuteranopia (green-blind)
#332D04
Tritanopia (blue-blind)
#471C1D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #402304;
/* rgb */ color: rgb(64, 35, 4);
/* oklch */ color: oklch(28.8% 0.061 62.6);
Tailwind
colors: {
  custom: {
    50: '#785e48',
    500: '#402304',
    950: '#000000',
  },
}
SCSS
$custom: #402304;
$custom-light: #785e48;
$custom-dark: #000000;
JSON
{
  "hex": "#402304",
  "rgb": {
    "r": 64,
    "g": 35,
    "b": 4
  },
  "hsl": {
    "h": 31,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.2885,
    "c": 0.06135,
    "h": 62.6
  },
  "luminance": 0.02301
}

Semantic roles & 50–950 ramp

primary
#402304
secondary
#1F4E81
accent
#90FE29
background
#F7F5F4
surface
#EEE9E6
border
#C9C5C2
text
#090400
muted
#7B7977

Preview Lab

Preview with #402304

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

Preview Lab → · Contrast checker → · Palette generator →

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