#402E07#402E07

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

Color values

HEX#402E07
RGBrgb(64, 46, 7)
HSLhsl(41, 80%, 14%)
HSVhsv(41, 89%, 25%)
CMYKcmyk(0%, 28.1%, 89.1%, 74.9%)
CIE-LABlab(20.28, 3.88, 26.00)
CIE-LCHlch(20.28, 26.29, 81.51°)
OKLaboklab(31.42% 0.0079 0.0581)
OKLCHoklch(31.42% 0.059 82.2)
XYZxyz(3.1299, 3.0596, 0.6267)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402E07 #071940
analogous
#401207 #402E07 #364007
triadic
#402E07 #07402E #2E0740
tetradic
#402E07 #074012 #071940 #400736
square
#402E07 #074012 #071940 #400736
split-complementary
#402E07 #073640 #120740
monochromatic
#1C1403 #1C1403 #402E07 #77560D #AE7D13

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##402E07#FFFFFF#000000##FFFFFF
##402E071.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)
#352E02
Deuteranopia (green-blind)
#3A3309
Tritanopia (blue-blind)
#462926
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #402e07;
/* rgb */ color: rgb(64, 46, 7);
/* oklch */ color: oklch(31.4% 0.059 82.2);
Tailwind
colors: {
  custom: {
    50: '#78664a',
    500: '#402e07',
    950: '#000000',
  },
}
SCSS
$custom: #402e07;
$custom-light: #78664a;
$custom-dark: #000000;
JSON
{
  "hex": "#402e07",
  "rgb": {
    "r": 64,
    "g": 46,
    "b": 7
  },
  "hsl": {
    "h": 41.053,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.3142,
    "c": 0.05862,
    "h": 82.2
  },
  "luminance": 0.03059
}

Semantic roles & 50–950 ramp

primary
#402E07
secondary
#24417F
accent
#6FF731
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090501
muted
#7B7A77

Preview Lab

Preview with #402E07

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

Preview Lab → · Contrast checker → · Palette generator →

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