#402C09#402C09

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

Color values

HEX#402C09
RGBrgb(64, 44, 9)
HSLhsl(38, 75%, 14%)
HSVhsv(38, 86%, 25%)
CMYKcmyk(0%, 31.2%, 85.9%, 74.9%)
CIE-LABlab(19.69, 5.33, 24.52)
CIE-LCHlch(19.69, 25.09, 77.74°)
OKLaboklab(30.96% 0.0124 0.0552)
OKLCHoklch(30.96% 0.057 77.3)
XYZxyz(3.0646, 2.9113, 0.6589)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402C09 #091D40
analogous
#401109 #402C09 #394009
triadic
#402C09 #09402C #2C0940
tetradic
#402C09 #094011 #091D40 #400939
square
#402C09 #094011 #091D40 #400939
split-complementary
#402C09 #093940 #110940
monochromatic
#1B1204 #1B1204 #402C09 #765111 #AB7618

Accessibility & contrast

On white

13.27
#402C09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #402C09
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402C09#FFFFFF#000000##FFFFFF
##402C091.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D05
Deuteranopia (green-blind)
#38320A
Tritanopia (blue-blind)
#462625
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #402c09;
/* rgb */ color: rgb(64, 44, 9);
/* oklch */ color: oklch(31.0% 0.057 77.3);
Tailwind
colors: {
  custom: {
    50: '#78644b',
    500: '#402c09',
    950: '#000000',
  },
}
SCSS
$custom: #402c09;
$custom-light: #78644b;
$custom-dark: #000000;
JSON
{
  "hex": "#402c09",
  "rgb": {
    "r": 64,
    "g": 44,
    "b": 9
  },
  "hsl": {
    "h": 38.182,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.30959,
    "c": 0.05659,
    "h": 77.3
  },
  "luminance": 0.02911
}

Semantic roles & 50–950 ramp

primary
#402C09
secondary
#27477E
accent
#7AF236
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090501
muted
#7B7A77

Preview Lab

Preview with #402C09

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

Preview Lab → · Contrast checker → · Palette generator →

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