#402F13#402F13

#402F13 is a dark, muted orange. Relative luminance 0.032; OKLCH L 31.8% C 0.049 H 77.9°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#402F13
RGBrgb(64, 47, 19)
HSLhsl(37, 54%, 16%)
HSVhsv(37, 70%, 25%)
CMYKcmyk(0%, 26.6%, 70.3%, 74.9%)
CIE-LABlab(20.71, 4.02, 20.64)
CIE-LCHlch(20.71, 21.02, 78.99°)
OKLaboklab(31.8% 0.0103 0.0478)
OKLCHoklch(31.8% 0.049 77.9)
XYZxyz(3.2486, 3.1703, 1.0568)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402F13 #132440
analogous
#401913 #402F13 #3B4013
triadic
#402F13 #13402F #2F1340
tetradic
#402F13 #134019 #132440 #40133B
square
#402F13 #134019 #132440 #40133B
split-complementary
#402F13 #133B40 #191340
monochromatic
#181107 #181107 #402F13 #6F5221 #9E742F

Accessibility & contrast

On white

12.85
#402F13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #402F13
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402F13#FFFFFF#000000##FFFFFF
##402F131.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F10
Deuteranopia (green-blind)
#3A3414
Tritanopia (blue-blind)
#462A29
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #402f13;
/* rgb */ color: rgb(64, 47, 19);
/* oklch */ color: oklch(31.8% 0.049 77.9);
Tailwind
colors: {
  custom: {
    50: '#776751',
    500: '#402f13',
    950: '#000000',
  },
}
SCSS
$custom: #402f13;
$custom-light: #776751;
$custom-dark: #000000;
JSON
{
  "hex": "#402f13",
  "rgb": {
    "r": 64,
    "g": 47,
    "b": 19
  },
  "hsl": {
    "h": 37.333,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.31798,
    "c": 0.04892,
    "h": 77.9
  },
  "luminance": 0.0317
}

Semantic roles & 50–950 ramp

primary
#402F13
secondary
#364F79
accent
#82DE4A
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090602
muted
#7B7A78

Preview Lab

Preview with #402F13

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

Preview Lab → · Contrast checker → · Palette generator →

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