#402505#402505

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

Color values

HEX#402505
RGBrgb(64, 37, 5)
HSLhsl(33, 86%, 14%)
HSVhsv(33, 92%, 25%)
CMYKcmyk(0%, 42.2%, 92.2%, 74.9%)
CIE-LABlab(17.57, 9.77, 23.66)
CIE-LCHlch(17.57, 25.60, 67.56°)
OKLaboklab(29.3% 0.0247 0.0546)
OKLCHoklch(29.3% 0.06 65.6)
XYZxyz(2.8035, 2.4244, 0.4639)
Luminance0.0242 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402505 #052040
analogous
#400705 #402505 #3D4005
triadic
#402505 #054025 #250540
tetradic
#402505 #054007 #052040 #40053D
square
#402505 #054007 #052040 #40053D
split-complementary
#402505 #053D40 #070540
monochromatic
#1C1002 #1C1002 #402505 #794609 #B2670E

Accessibility & contrast

On white

14.14
#402505 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #402505
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402505#FFFFFF#000000##FFFFFF
##4025051.0014.141.4814.14
#FFFFFF14.141.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #402505;
/* rgb */ color: rgb(64, 37, 5);
/* oklch */ color: oklch(29.3% 0.060 65.6);
Tailwind
colors: {
  custom: {
    50: '#785f49',
    500: '#402505',
    950: '#000000',
  },
}
SCSS
$custom: #402505;
$custom-light: #785f49;
$custom-dark: #000000;
JSON
{
  "hex": "#402505",
  "rgb": {
    "r": 64,
    "g": 37,
    "b": 5
  },
  "hsl": {
    "h": 32.542,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.29302,
    "c": 0.05991,
    "h": 65.6
  },
  "luminance": 0.02424
}

Semantic roles & 50–950 ramp

primary
#402505
secondary
#204C81
accent
#8BFC2C
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090401
muted
#7B7977

Preview Lab

Preview with #402505

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

Preview Lab → · Contrast checker → · Palette generator →

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