#402B07#402B07

#402B07 is a dark, muted orange. Relative luminance 0.028; OKLCH L 30.7% C 0.058 H 76.3°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#402B07
RGBrgb(64, 43, 7)
HSLhsl(38, 80%, 14%)
HSVhsv(38, 89%, 25%)
CMYKcmyk(0%, 32.8%, 89.1%, 74.9%)
CIE-LABlab(19.36, 5.88, 24.96)
CIE-LCHlch(19.36, 25.64, 76.74°)
OKLaboklab(30.7% 0.0137 0.0563)
OKLCHoklch(30.7% 0.058 76.3)
XYZxyz(3.0168, 2.8333, 0.5890)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402B07 #071C40
analogous
#400F07 #402B07 #394007
triadic
#402B07 #07402B #2B0740
tetradic
#402B07 #07400F #071C40 #400739
square
#402B07 #07400F #071C40 #400739
split-complementary
#402B07 #073940 #0F0740
monochromatic
#1C1303 #1C1303 #402B07 #77500D #AE7513

Accessibility & contrast

On white

13.40
#402B07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#402B07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402B07
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402B07#FFFFFF#000000##FFFFFF
##402B071.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C03
Deuteranopia (green-blind)
#383108
Tritanopia (blue-blind)
#472524
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #402b07;
/* rgb */ color: rgb(64, 43, 7);
/* oklch */ color: oklch(30.7% 0.058 76.3);
Tailwind
colors: {
  custom: {
    50: '#78644a',
    500: '#402b07',
    950: '#000000',
  },
}
SCSS
$custom: #402b07;
$custom-light: #78644a;
$custom-dark: #000000;
JSON
{
  "hex": "#402b07",
  "rgb": {
    "r": 64,
    "g": 43,
    "b": 7
  },
  "hsl": {
    "h": 37.895,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.30702,
    "c": 0.0579,
    "h": 76.3
  },
  "luminance": 0.02833
}

Semantic roles & 50–950 ramp

primary
#402B07
secondary
#24457F
accent
#7AF731
background
#F7F5F4
surface
#EEEAE7
border
#C9C6C3
text
#090501
muted
#7B7977

Preview Lab

Preview with #402B07

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

Preview Lab → · Contrast checker → · Palette generator →

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