#402C06#402C06

#402C06 is a dark, muted orange. Relative luminance 0.029; OKLCH L 30.9% C 0.059 H 78.8°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#402C06
RGBrgb(64, 44, 6)
HSLhsl(39, 83%, 14%)
HSVhsv(39, 91%, 25%)
CMYKcmyk(0%, 31.2%, 90.6%, 74.9%)
CIE-LABlab(19.66, 5.15, 25.71)
CIE-LCHlch(19.66, 26.22, 78.66°)
OKLaboklab(30.93% 0.0115 0.0577)
OKLCHoklch(30.93% 0.059 78.8)
XYZxyz(3.0481, 2.9048, 0.5724)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402C06 #061A40
analogous
#400F06 #402C06 #374006
triadic
#402C06 #06402C #2C0640
tetradic
#402C06 #06400F #061A40 #400637
square
#402C06 #06400F #061A40 #400637
split-complementary
#402C06 #063740 #0F0640
monochromatic
#1C1303 #1C1303 #402C06 #78520B #B07910

Accessibility & contrast

On white

13.28
#402C06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#402C06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402C06
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402C06#FFFFFF#000000##FFFFFF
##402C061.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D02
Deuteranopia (green-blind)
#383207
Tritanopia (blue-blind)
#462625
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #402c06;
/* rgb */ color: rgb(64, 44, 6);
/* oklch */ color: oklch(30.9% 0.059 78.8);
Tailwind
colors: {
  custom: {
    50: '#78644a',
    500: '#402c06',
    950: '#000000',
  },
}
SCSS
$custom: #402c06;
$custom-light: #78644a;
$custom-dark: #000000;
JSON
{
  "hex": "#402c06",
  "rgb": {
    "r": 64,
    "g": 44,
    "b": 6
  },
  "hsl": {
    "h": 39.31,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.30929,
    "c": 0.05884,
    "h": 78.8
  },
  "luminance": 0.02905
}

Semantic roles & 50–950 ramp

primary
#402C06
secondary
#224280
accent
#74F92F
background
#F7F6F4
surface
#EEEBE7
border
#C9C6C3
text
#090501
muted
#7B7A77

Preview Lab

Preview with #402C06

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

Preview Lab → · Contrast checker → · Palette generator →

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