#402A07#402A07

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

Color values

HEX#402A07
RGBrgb(64, 42, 7)
HSLhsl(37, 80%, 14%)
HSVhsv(37, 89%, 25%)
CMYKcmyk(0%, 34.4%, 89.1%, 74.9%)
CIE-LABlab(19.06, 6.55, 24.61)
CIE-LCHlch(19.06, 25.47, 75.10°)
OKLaboklab(30.47% 0.0157 0.0557)
OKLCHoklch(30.47% 0.058 74.3)
XYZxyz(2.9809, 2.7615, 0.5770)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402A07 #071D40
analogous
#400E07 #402A07 #3A4007
triadic
#402A07 #07402A #2A0740
tetradic
#402A07 #07400E #071D40 #40073A
square
#402A07 #07400E #071D40 #40073A
split-complementary
#402A07 #073A40 #0E0740
monochromatic
#1C1203 #1C1203 #402A07 #774E0D #AE7213

Accessibility & contrast

On white

13.53
#402A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#402A07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402A07
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402A07#FFFFFF#000000##FFFFFF
##402A071.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B03
Deuteranopia (green-blind)
#373008
Tritanopia (blue-blind)
#472423
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #402a07;
/* rgb */ color: rgb(64, 42, 7);
/* oklch */ color: oklch(30.5% 0.058 74.3);
Tailwind
colors: {
  custom: {
    50: '#78634a',
    500: '#402a07',
    950: '#000000',
  },
}
SCSS
$custom: #402a07;
$custom-light: #78634a;
$custom-dark: #000000;
JSON
{
  "hex": "#402a07",
  "rgb": {
    "r": 64,
    "g": 42,
    "b": 7
  },
  "hsl": {
    "h": 36.842,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.30466,
    "c": 0.05781,
    "h": 74.3
  },
  "luminance": 0.02761
}

Semantic roles & 50–950 ramp

primary
#402A07
secondary
#24477F
accent
#7DF731
background
#F7F5F4
surface
#EEEAE7
border
#C9C6C3
text
#090501
muted
#7B7977

Preview Lab

Preview with #402A07

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

Preview Lab → · Contrast checker → · Palette generator →

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