#402E05#402E05

#402E05 is a dark, moderate orange. Relative luminance 0.031; OKLCH L 31.4% C 0.060 H 83.1°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#402E05
RGBrgb(64, 46, 5)
HSLhsl(42, 86%, 14%)
HSVhsv(42, 92%, 25%)
CMYKcmyk(0%, 28.1%, 92.2%, 74.9%)
CIE-LABlab(20.26, 3.77, 26.80)
CIE-LCHlch(20.26, 27.06, 82.00°)
OKLaboklab(31.4% 0.0073 0.0597)
OKLCHoklch(31.4% 0.06 83.1)
XYZxyz(3.1190, 3.0552, 0.5690)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402E05 #051740
analogous
#401005 #402E05 #344005
triadic
#402E05 #05402E #2E0540
tetradic
#402E05 #054010 #051740 #400534
square
#402E05 #054010 #051740 #400534
split-complementary
#402E05 #053440 #100540
monochromatic
#1C1402 #1C1402 #402E05 #795709 #B2800E

Accessibility & contrast

On white

13.04
#402E05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#402E05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402E05
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402E05#FFFFFF#000000##FFFFFF
##402E051.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362E00
Deuteranopia (green-blind)
#3A3307
Tritanopia (blue-blind)
#462826
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #402e05;
/* rgb */ color: rgb(64, 46, 5);
/* oklch */ color: oklch(31.4% 0.060 83.1);
Tailwind
colors: {
  custom: {
    50: '#786649',
    500: '#402e05',
    950: '#000000',
  },
}
SCSS
$custom: #402e05;
$custom-light: #786649;
$custom-dark: #000000;
JSON
{
  "hex": "#402e05",
  "rgb": {
    "r": 64,
    "g": 46,
    "b": 5
  },
  "hsl": {
    "h": 41.695,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.314,
    "c": 0.06017,
    "h": 83.1
  },
  "luminance": 0.03055
}

Semantic roles & 50–950 ramp

primary
#402E05
secondary
#203E81
accent
#6BFC2C
background
#F7F6F4
surface
#EEEBE7
border
#C9C6C3
text
#090501
muted
#7B7A77

Preview Lab

Preview with #402E05

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

Preview Lab → · Contrast checker → · Palette generator →

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