#402308#402308

#402308 is a dark, muted orange. Relative luminance 0.023; OKLCH L 28.9% C 0.059 H 59.5°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#402308
RGBrgb(64, 35, 8)
HSLhsl(29, 78%, 14%)
HSVhsv(29, 88%, 25%)
CMYKcmyk(0%, 45.3%, 87.5%, 74.9%)
CIE-LABlab(17.04, 11.28, 21.79)
CIE-LCHlch(17.04, 24.53, 62.64°)
OKLaboklab(28.9% 0.0298 0.0506)
OKLCHoklch(28.9% 0.059 59.5)
XYZxyz(2.7594, 2.3099, 0.5302)
Luminance0.0231 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402308 #082540
analogous
#400809 #402308 #403F08
triadic
#402308 #084023 #230840
tetradic
#402308 #094008 #082540 #3F0840
square
#402308 #094008 #082540 #3F0840
split-complementary
#402308 #08403F #080940
monochromatic
#1B0F03 #1B0F03 #402308 #76410F #AD5F16

Accessibility & contrast

On white

14.36
#402308 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #402308
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402308#FFFFFF#000000##FFFFFF
##4023081.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2605
Deuteranopia (green-blind)
#332D08
Tritanopia (blue-blind)
#471D1D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #402308;
/* rgb */ color: rgb(64, 35, 8);
/* oklch */ color: oklch(28.9% 0.059 59.5);
Tailwind
colors: {
  custom: {
    50: '#785e4a',
    500: '#402308',
    950: '#000000',
  },
}
SCSS
$custom: #402308;
$custom-light: #785e4a;
$custom-dark: #000000;
JSON
{
  "hex": "#402308",
  "rgb": {
    "r": 64,
    "g": 35,
    "b": 8
  },
  "hsl": {
    "h": 28.929,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.28896,
    "c": 0.05868,
    "h": 59.5
  },
  "luminance": 0.0231
}

Semantic roles & 50–950 ramp

primary
#402308
secondary
#25537E
accent
#97F434
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090401
muted
#7B7977

Preview Lab

Preview with #402308

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

Preview Lab → · Contrast checker → · Palette generator →

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