#402C05#402C05

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

Color values

HEX#402C05
RGBrgb(64, 44, 5)
HSLhsl(40, 86%, 14%)
HSVhsv(40, 92%, 25%)
CMYKcmyk(0%, 31.2%, 92.2%, 74.9%)
CIE-LABlab(19.65, 5.10, 26.10)
CIE-LCHlch(19.65, 26.60, 78.95°)
OKLaboklab(30.92% 0.0111 0.0586)
OKLCHoklch(30.92% 0.06 79.2)
XYZxyz(3.0426, 2.9026, 0.5436)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402C05 #051940
analogous
#400E05 #402C05 #364005
triadic
#402C05 #05402C #2C0540
tetradic
#402C05 #05400E #051940 #400536
square
#402C05 #05400E #051940 #400536
split-complementary
#402C05 #053640 #0E0540
monochromatic
#1C1402 #1C1402 #402C05 #795309 #B27A0E

Accessibility & contrast

On white

13.29
#402C05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #402C05
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402C05#FFFFFF#000000##FFFFFF
##402C051.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D01
Deuteranopia (green-blind)
#383206
Tritanopia (blue-blind)
#472625
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #402c05;
/* rgb */ color: rgb(64, 44, 5);
/* oklch */ color: oklch(30.9% 0.060 79.2);
Tailwind
colors: {
  custom: {
    50: '#786449',
    500: '#402c05',
    950: '#000000',
  },
}
SCSS
$custom: #402c05;
$custom-light: #786449;
$custom-dark: #000000;
JSON
{
  "hex": "#402c05",
  "rgb": {
    "r": 64,
    "g": 44,
    "b": 5
  },
  "hsl": {
    "h": 39.661,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.30919,
    "c": 0.05961,
    "h": 79.2
  },
  "luminance": 0.02902
}

Semantic roles & 50–950 ramp

primary
#402C05
secondary
#204181
accent
#72FC2C
background
#F7F6F4
surface
#EEEBE7
border
#C9C6C3
text
#090501
muted
#7B7A77

Preview Lab

Preview with #402C05

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

Preview Lab → · Contrast checker → · Palette generator →

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