#402A03#402A03

#402A03 is a dark, moderate orange. Relative luminance 0.028; OKLCH L 30.4% C 0.061 H 76.5°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#402A03
RGBrgb(64, 42, 3)
HSLhsl(38, 91%, 13%)
HSVhsv(38, 95%, 25%)
CMYKcmyk(0%, 34.4%, 95.3%, 74.9%)
CIE-LABlab(19.03, 6.32, 26.20)
CIE-LCHlch(19.03, 26.95, 76.44°)
OKLaboklab(30.43% 0.0143 0.0592)
OKLCHoklch(30.43% 0.061 76.5)
XYZxyz(2.9590, 2.7528, 0.4616)
Luminance0.0275 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402A03 #031940
analogous
#400C03 #402A03 #374003
triadic
#402A03 #03402A #2A0340
tetradic
#402A03 #03400C #031940 #400337
square
#402A03 #03400C #031940 #400337
split-complementary
#402A03 #033740 #0C0340
monochromatic
#1D1301 #1D1301 #402A03 #7A5006 #B57708

Accessibility & contrast

On white

13.54
#402A03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #402A03
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402A03#FFFFFF#000000##FFFFFF
##402A031.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #402a03;
/* rgb */ color: rgb(64, 42, 3);
/* oklch */ color: oklch(30.4% 0.061 76.5);
Tailwind
colors: {
  custom: {
    50: '#786348',
    500: '#402a03',
    950: '#000000',
  },
}
SCSS
$custom: #402a03;
$custom-light: #786348;
$custom-dark: #000000;
JSON
{
  "hex": "#402a03",
  "rgb": {
    "r": 64,
    "g": 42,
    "b": 3
  },
  "hsl": {
    "h": 38.361,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.30425,
    "c": 0.06089,
    "h": 76.5
  },
  "luminance": 0.02752
}

Semantic roles & 50–950 ramp

primary
#402A03
secondary
#1D4182
accent
#76FF29
background
#F7F5F4
surface
#EEEAE6
border
#C9C6C2
text
#090500
muted
#7B7977

Preview Lab

Preview with #402A03

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

Preview Lab → · Contrast checker → · Palette generator →

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