#402607#402607

#402607 is a dark, muted orange. Relative luminance 0.025; OKLCH L 29.5% C 0.058 H 66.2°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#402607
RGBrgb(64, 38, 7)
HSLhsl(33, 80%, 14%)
HSVhsv(33, 89%, 25%)
CMYKcmyk(0%, 40.6%, 89.1%, 74.9%)
CIE-LABlab(17.88, 9.22, 23.22)
CIE-LCHlch(17.88, 24.98, 68.34°)
OKLaboklab(29.55% 0.0235 0.0533)
OKLCHoklch(29.55% 0.058 66.2)
XYZxyz(2.8460, 2.4918, 0.5321)
Luminance0.0249 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402607 #072140
analogous
#400A07 #402607 #3E4007
triadic
#402607 #074026 #260740
tetradic
#402607 #07400A #072140 #40073E
square
#402607 #07400A #072140 #40073E
split-complementary
#402607 #073E40 #0A0740
monochromatic
#1C1003 #1C1003 #402607 #77470D #AE6813

Accessibility & contrast

On white

14.01
#402607 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#402607 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402607
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402607#FFFFFF#000000##FFFFFF
##4026071.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2804
Deuteranopia (green-blind)
#352E08
Tritanopia (blue-blind)
#472020
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #402607;
/* rgb */ color: rgb(64, 38, 7);
/* oklch */ color: oklch(29.5% 0.058 66.2);
Tailwind
colors: {
  custom: {
    50: '#78604a',
    500: '#402607',
    950: '#000000',
  },
}
SCSS
$custom: #402607;
$custom-light: #78604a;
$custom-dark: #000000;
JSON
{
  "hex": "#402607",
  "rgb": {
    "r": 64,
    "g": 38,
    "b": 7
  },
  "hsl": {
    "h": 32.632,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.29547,
    "c": 0.05822,
    "h": 66.2
  },
  "luminance": 0.02492
}

Semantic roles & 50–950 ramp

primary
#402607
secondary
#244D7F
accent
#8BF731
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090401
muted
#7B7977

Preview Lab

Preview with #402607

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

Preview Lab → · Contrast checker → · Palette generator →

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