#402C0F#402C0F

#402C0F is a dark, muted orange. Relative luminance 0.029; OKLCH L 31.0% C 0.052 H 73.8°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#402C0F
RGBrgb(64, 44, 15)
HSLhsl(36, 62%, 15%)
HSVhsv(36, 77%, 25%)
CMYKcmyk(0%, 31.2%, 76.6%, 74.9%)
CIE-LABlab(19.75, 5.70, 21.84)
CIE-LCHlch(19.75, 22.57, 75.37°)
OKLaboklab(31.03% 0.0145 0.0498)
OKLCHoklch(31.03% 0.052 73.8)
XYZxyz(3.1015, 2.9261, 0.8533)
Luminance0.0293 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402C0F #0F2340
analogous
#40130F #402C0F #3B400F
triadic
#402C0F #0F402C #2C0F40
tetradic
#402C0F #0F4013 #0F2340 #400F3B
square
#402C0F #0F4013 #0F2340 #400F3B
split-complementary
#402C0F #0F3B40 #130F40
monochromatic
#191106 #191106 #402C0F #724E1B #A37026

Accessibility & contrast

On white

13.25
#402C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#402C0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402C0F
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402C0F#FFFFFF#000000##FFFFFF
##402C0F1.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D0C
Deuteranopia (green-blind)
#383210
Tritanopia (blue-blind)
#462726
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #402c0f;
/* rgb */ color: rgb(64, 44, 15);
/* oklch */ color: oklch(31.0% 0.052 73.8);
Tailwind
colors: {
  custom: {
    50: '#77654f',
    500: '#402c0f',
    950: '#000000',
  },
}
SCSS
$custom: #402c0f;
$custom-light: #77654f;
$custom-dark: #000000;
JSON
{
  "hex": "#402c0f",
  "rgb": {
    "r": 64,
    "g": 44,
    "b": 15
  },
  "hsl": {
    "h": 35.51,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.31025,
    "c": 0.0519,
    "h": 73.8
  },
  "luminance": 0.02926
}

Semantic roles & 50–950 ramp

primary
#402C0F
secondary
#304F7A
accent
#85E543
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090502
muted
#7B7A78

Preview Lab

Preview with #402C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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