#402708#402708

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

Color values

HEX#402708
RGBrgb(64, 39, 8)
HSLhsl(33, 78%, 14%)
HSVhsv(33, 88%, 25%)
CMYKcmyk(0%, 39.1%, 87.5%, 74.9%)
CIE-LABlab(18.18, 8.61, 23.17)
CIE-LCHlch(18.18, 24.72, 69.61°)
OKLaboklab(29.78% 0.0219 0.053)
OKLCHoklch(29.78% 0.057 67.5)
XYZxyz(2.8839, 2.5588, 0.5717)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402708 #082140
analogous
#400B08 #402708 #3D4008
triadic
#402708 #084027 #270840
tetradic
#402708 #08400B #082140 #40083D
square
#402708 #08400B #082140 #40083D
split-complementary
#402708 #083D40 #0B0840
monochromatic
#1B1103 #1B1103 #402708 #76480F #AD6916

Accessibility & contrast

On white

13.89
#402708 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #402708
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402708#FFFFFF#000000##FFFFFF
##4027081.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2905
Deuteranopia (green-blind)
#352F09
Tritanopia (blue-blind)
#472121
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #402708;
/* rgb */ color: rgb(64, 39, 8);
/* oklch */ color: oklch(29.8% 0.057 67.5);
Tailwind
colors: {
  custom: {
    50: '#78614a',
    500: '#402708',
    950: '#000000',
  },
}
SCSS
$custom: #402708;
$custom-light: #78614a;
$custom-dark: #000000;
JSON
{
  "hex": "#402708",
  "rgb": {
    "r": 64,
    "g": 39,
    "b": 8
  },
  "hsl": {
    "h": 33.214,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.29784,
    "c": 0.05731,
    "h": 67.5
  },
  "luminance": 0.02559
}

Semantic roles & 50–950 ramp

primary
#402708
secondary
#254D7E
accent
#8AF434
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090501
muted
#7B7977

Preview Lab

Preview with #402708

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

Preview Lab → · Contrast checker → · Palette generator →

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