#402710#402710

#402710 is a dark, muted orange. Relative luminance 0.026; OKLCH L 29.9% C 0.052 H 61.3°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#402710
RGBrgb(64, 39, 16)
HSLhsl(29, 60%, 16%)
HSVhsv(29, 75%, 25%)
CMYKcmyk(0%, 39.1%, 75%, 74.9%)
CIE-LABlab(18.27, 9.12, 19.58)
CIE-LCHlch(18.27, 21.60, 65.03°)
OKLaboklab(29.88% 0.0248 0.0453)
OKLCHoklch(29.88% 0.052 61.3)
XYZxyz(2.9336, 2.5787, 0.8333)
Luminance0.0258 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402710 #102940
analogous
#401011 #402710 #403F10
triadic
#402710 #104027 #271040
tetradic
#402710 #114010 #102940 #3F1040
square
#402710 #114010 #102940 #3F1040
split-complementary
#402710 #10403F #101140
monochromatic
#180F06 #180F06 #402710 #71451C #A26328

Accessibility & contrast

On white

13.86
#402710 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#402710 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402710
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402710#FFFFFF#000000##FFFFFF
##4027101.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F290E
Deuteranopia (green-blind)
#352F10
Tritanopia (blue-blind)
#462222
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #402710;
/* rgb */ color: rgb(64, 39, 16);
/* oklch */ color: oklch(29.9% 0.052 61.3);
Tailwind
colors: {
  custom: {
    50: '#78614f',
    500: '#402710',
    950: '#000000',
  },
}
SCSS
$custom: #402710;
$custom-light: #78614f;
$custom-dark: #000000;
JSON
{
  "hex": "#402710",
  "rgb": {
    "r": 64,
    "g": 39,
    "b": 16
  },
  "hsl": {
    "h": 28.75,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.29881,
    "c": 0.05161,
    "h": 61.3
  },
  "luminance": 0.02578
}

Semantic roles & 50–950 ramp

primary
#402710
secondary
#32577A
accent
#97E345
background
#F7F5F4
surface
#EDE9E7
border
#C8C5C3
text
#090502
muted
#7B7978

Preview Lab

Preview with #402710

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

Preview Lab → · Contrast checker → · Palette generator →

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