#402508#402508

#402508 is a dark, muted orange. Relative luminance 0.024; OKLCH L 29.3% C 0.058 H 63.5°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#402508
RGBrgb(64, 37, 8)
HSLhsl(31, 78%, 14%)
HSVhsv(31, 88%, 25%)
CMYKcmyk(0%, 42.2%, 87.5%, 74.9%)
CIE-LABlab(17.60, 9.95, 22.48)
CIE-LCHlch(17.60, 24.58, 66.13°)
OKLaboklab(29.34% 0.0258 0.0518)
OKLCHoklch(29.34% 0.058 63.5)
XYZxyz(2.8200, 2.4309, 0.5504)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402508 #082340
analogous
#400908 #402508 #3F4008
triadic
#402508 #084025 #250840
tetradic
#402508 #084009 #082340 #40083F
square
#402508 #084009 #082340 #40083F
split-complementary
#402508 #083F40 #090840
monochromatic
#1B1003 #1B1003 #402508 #76440F #AD6416

Accessibility & contrast

On white

14.13
#402508 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#402508 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402508
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402508#FFFFFF#000000##FFFFFF
##4025081.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2705
Deuteranopia (green-blind)
#342E08
Tritanopia (blue-blind)
#471F1F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #402508;
/* rgb */ color: rgb(64, 37, 8);
/* oklch */ color: oklch(29.3% 0.058 63.5);
Tailwind
colors: {
  custom: {
    50: '#785f4a',
    500: '#402508',
    950: '#000000',
  },
}
SCSS
$custom: #402508;
$custom-light: #785f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#402508",
  "rgb": {
    "r": 64,
    "g": 37,
    "b": 8
  },
  "hsl": {
    "h": 31.071,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.29335,
    "c": 0.05784,
    "h": 63.5
  },
  "luminance": 0.02431
}

Semantic roles & 50–950 ramp

primary
#402508
secondary
#25507E
accent
#90F434
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090401
muted
#7B7977

Preview Lab

Preview with #402508

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

Preview Lab → · Contrast checker → · Palette generator →

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