#402705#402705

#402705 is a dark, muted orange. Relative luminance 0.026; OKLCH L 29.8% C 0.059 H 69.5°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#402705
RGBrgb(64, 39, 5)
HSLhsl(35, 86%, 14%)
HSVhsv(35, 92%, 25%)
CMYKcmyk(0%, 39.1%, 92.2%, 74.9%)
CIE-LABlab(18.15, 8.44, 24.36)
CIE-LCHlch(18.15, 25.78, 70.89°)
OKLaboklab(29.75% 0.0208 0.0557)
OKLCHoklch(29.75% 0.059 69.5)
XYZxyz(2.8675, 2.5523, 0.4852)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402705 #051E40
analogous
#400905 #402705 #3B4005
triadic
#402705 #054027 #270540
tetradic
#402705 #054009 #051E40 #40053B
square
#402705 #054009 #051E40 #40053B
split-complementary
#402705 #053B40 #090540
monochromatic
#1C1102 #1C1102 #402705 #794A09 #B26C0E

Accessibility & contrast

On white

13.90
#402705 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#402705 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402705
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402705#FFFFFF#000000##FFFFFF
##4027051.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2901
Deuteranopia (green-blind)
#352F06
Tritanopia (blue-blind)
#472120
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #402705;
/* rgb */ color: rgb(64, 39, 5);
/* oklch */ color: oklch(29.8% 0.059 69.5);
Tailwind
colors: {
  custom: {
    50: '#786149',
    500: '#402705',
    950: '#000000',
  },
}
SCSS
$custom: #402705;
$custom-light: #786149;
$custom-dark: #000000;
JSON
{
  "hex": "#402705",
  "rgb": {
    "r": 64,
    "g": 39,
    "b": 5
  },
  "hsl": {
    "h": 34.576,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.29752,
    "c": 0.05945,
    "h": 69.5
  },
  "luminance": 0.02552
}

Semantic roles & 50–950 ramp

primary
#402705
secondary
#204981
accent
#84FC2C
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090501
muted
#7B7977

Preview Lab

Preview with #402705

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

Preview Lab → · Contrast checker → · Palette generator →

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