#402706#402706

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

Color values

HEX#402706
RGBrgb(64, 39, 6)
HSLhsl(34, 83%, 14%)
HSVhsv(34, 91%, 25%)
CMYKcmyk(0%, 39.1%, 90.6%, 74.9%)
CIE-LABlab(18.16, 8.50, 23.96)
CIE-LCHlch(18.16, 25.43, 70.47°)
OKLaboklab(29.76% 0.0212 0.0548)
OKLCHoklch(29.76% 0.059 68.9)
XYZxyz(2.8730, 2.5544, 0.5140)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402706 #061F40
analogous
#400A06 #402706 #3C4006
triadic
#402706 #064027 #270640
tetradic
#402706 #06400A #061F40 #40063C
square
#402706 #06400A #061F40 #40063C
split-complementary
#402706 #063C40 #0A0640
monochromatic
#1C1103 #1C1103 #402706 #78490B #B06B10

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##402706#FFFFFF#000000##FFFFFF
##4027061.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)
#2F2902
Deuteranopia (green-blind)
#352F07
Tritanopia (blue-blind)
#472120
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #402706;
/* rgb */ color: rgb(64, 39, 6);
/* oklch */ color: oklch(29.8% 0.059 68.9);
Tailwind
colors: {
  custom: {
    50: '#78614a',
    500: '#402706',
    950: '#000000',
  },
}
SCSS
$custom: #402706;
$custom-light: #78614a;
$custom-dark: #000000;
JSON
{
  "hex": "#402706",
  "rgb": {
    "r": 64,
    "g": 39,
    "b": 6
  },
  "hsl": {
    "h": 34.138,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.29763,
    "c": 0.05872,
    "h": 68.9
  },
  "luminance": 0.02554
}

Semantic roles & 50–950 ramp

primary
#402706
secondary
#224A80
accent
#86F92F
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090501
muted
#7B7977

Preview Lab

Preview with #402706

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

Preview Lab → · Contrast checker → · Palette generator →

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