#402E06#402E06

#402E06 is a dark, muted orange. Relative luminance 0.031; OKLCH L 31.4% C 0.059 H 82.6°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#402E06
RGBrgb(64, 46, 6)
HSLhsl(41, 83%, 14%)
HSVhsv(41, 91%, 25%)
CMYKcmyk(0%, 28.1%, 90.6%, 74.9%)
CIE-LABlab(20.27, 3.82, 26.40)
CIE-LCHlch(20.27, 26.68, 81.76°)
OKLaboklab(31.41% 0.0076 0.0589)
OKLCHoklch(31.41% 0.059 82.6)
XYZxyz(3.1244, 3.0574, 0.5978)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402E06 #061840
analogous
#401106 #402E06 #354006
triadic
#402E06 #06402E #2E0640
tetradic
#402E06 #064011 #061840 #400635
square
#402E06 #064011 #061840 #400635
split-complementary
#402E06 #063540 #110640
monochromatic
#1C1403 #1C1403 #402E06 #78560B #B07E10

Accessibility & contrast

On white

13.03
#402E06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #402E06
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402E06#FFFFFF#000000##FFFFFF
##402E061.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E01
Deuteranopia (green-blind)
#3A3308
Tritanopia (blue-blind)
#462826
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #402e06;
/* rgb */ color: rgb(64, 46, 6);
/* oklch */ color: oklch(31.4% 0.059 82.6);
Tailwind
colors: {
  custom: {
    50: '#78664a',
    500: '#402e06',
    950: '#000000',
  },
}
SCSS
$custom: #402e06;
$custom-light: #78664a;
$custom-dark: #000000;
JSON
{
  "hex": "#402e06",
  "rgb": {
    "r": 64,
    "g": 46,
    "b": 6
  },
  "hsl": {
    "h": 41.379,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.3141,
    "c": 0.05939,
    "h": 82.6
  },
  "luminance": 0.03057
}

Semantic roles & 50–950 ramp

primary
#402E06
secondary
#223F80
accent
#6DF92F
background
#F7F6F4
surface
#EEEBE7
border
#C9C6C3
text
#090501
muted
#7B7A77

Preview Lab

Preview with #402E06

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

Preview Lab → · Contrast checker → · Palette generator →

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