#402F0A#402F0A

#402F0A is a dark, muted orange. Relative luminance 0.031; OKLCH L 31.7% C 0.057 H 82.9°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#402F0A
RGBrgb(64, 47, 10)
HSLhsl(41, 73%, 15%)
HSVhsv(41, 84%, 25%)
CMYKcmyk(0%, 26.6%, 84.4%, 74.9%)
CIE-LABlab(20.62, 3.38, 25.16)
CIE-LCHlch(20.62, 25.38, 82.34°)
OKLaboklab(31.69% 0.007 0.0563)
OKLCHoklch(31.69% 0.057 82.9)
XYZxyz(3.1859, 3.1452, 0.7264)
Luminance0.0314 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402F0A #0A1B40
analogous
#40140A #402F0A #36400A
triadic
#402F0A #0A402F #2F0A40
tetradic
#402F0A #0A4014 #0A1B40 #400A36
square
#402F0A #0A4014 #0A1B40 #400A36
split-complementary
#402F0A #0A3640 #140A40
monochromatic
#1A1304 #1A1304 #402F0A #755612 #AA7D1B

Accessibility & contrast

On white

12.89
#402F0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#402F0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402F0A
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402F0A#FFFFFF#000000##FFFFFF
##402F0A1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F05
Deuteranopia (green-blind)
#3A330C
Tritanopia (blue-blind)
#462A28
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #402f0a;
/* rgb */ color: rgb(64, 47, 10);
/* oklch */ color: oklch(31.7% 0.057 82.9);
Tailwind
colors: {
  custom: {
    50: '#77674c',
    500: '#402f0a',
    950: '#000000',
  },
}
SCSS
$custom: #402f0a;
$custom-light: #77674c;
$custom-dark: #000000;
JSON
{
  "hex": "#402f0a",
  "rgb": {
    "r": 64,
    "g": 47,
    "b": 10
  },
  "hsl": {
    "h": 41.111,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.31691,
    "c": 0.05674,
    "h": 82.9
  },
  "luminance": 0.03145
}

Semantic roles & 50–950 ramp

primary
#402F0A
secondary
#29437D
accent
#72F038
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090601
muted
#7B7A77

Preview Lab

Preview with #402F0A

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

Preview Lab → · Contrast checker → · Palette generator →

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