#402D10#402D10

#402D10 is a dark, muted orange. Relative luminance 0.030; OKLCH L 31.3% C 0.051 H 75.3°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#402D10
RGBrgb(64, 45, 16)
HSLhsl(36, 60%, 16%)
HSVhsv(36, 75%, 25%)
CMYKcmyk(0%, 29.7%, 75%, 74.9%)
CIE-LABlab(20.06, 5.11, 21.65)
CIE-LCHlch(20.06, 22.25, 76.73°)
OKLaboklab(31.28% 0.013 0.0495)
OKLCHoklch(31.28% 0.051 75.3)
XYZxyz(3.1465, 3.0044, 0.9043)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402D10 #102340
analogous
#401510 #402D10 #3B4010
triadic
#402D10 #10402D #2D1040
tetradic
#402D10 #104015 #102340 #40103B
square
#402D10 #104015 #102340 #40103B
split-complementary
#402D10 #103B40 #151040
monochromatic
#181106 #181106 #402D10 #714F1C #A27228

Accessibility & contrast

On white

13.12
#402D10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#402D10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402D10
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402D10#FFFFFF#000000##FFFFFF
##402D101.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342E0D
Deuteranopia (green-blind)
#393211
Tritanopia (blue-blind)
#462827
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #402d10;
/* rgb */ color: rgb(64, 45, 16);
/* oklch */ color: oklch(31.3% 0.051 75.3);
Tailwind
colors: {
  custom: {
    50: '#77654f',
    500: '#402d10',
    950: '#000000',
  },
}
SCSS
$custom: #402d10;
$custom-light: #77654f;
$custom-dark: #000000;
JSON
{
  "hex": "#402d10",
  "rgb": {
    "r": 64,
    "g": 45,
    "b": 16
  },
  "hsl": {
    "h": 36.25,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.31276,
    "c": 0.05119,
    "h": 75.3
  },
  "luminance": 0.03004
}

Semantic roles & 50–950 ramp

primary
#402D10
secondary
#324E7A
accent
#83E345
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090502
muted
#7B7A78

Preview Lab

Preview with #402D10

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

Preview Lab → · Contrast checker → · Palette generator →

#402D10 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva