#402B03#402B03

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

Color values

HEX#402B03
RGBrgb(64, 43, 3)
HSLhsl(39, 91%, 13%)
HSVhsv(39, 95%, 25%)
CMYKcmyk(0%, 32.8%, 95.3%, 74.9%)
CIE-LABlab(19.33, 5.65, 26.55)
CIE-LCHlch(19.33, 27.14, 77.98°)
OKLaboklab(30.66% 0.0123 0.0598)
OKLCHoklch(30.66% 0.061 78.3)
XYZxyz(2.9949, 2.8246, 0.4736)
Luminance0.0282 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402B03 #031840
analogous
#400C03 #402B03 #364003
triadic
#402B03 #03402B #2B0340
tetradic
#402B03 #03400C #031840 #400336
square
#402B03 #03400C #031840 #400336
split-complementary
#402B03 #033640 #0C0340
monochromatic
#1D1401 #1D1401 #402B03 #7A5206 #B57A08

Accessibility & contrast

On white

13.42
#402B03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#402B03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402B03
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402B03#FFFFFF#000000##FFFFFF
##402B031.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C00
Deuteranopia (green-blind)
#383104
Tritanopia (blue-blind)
#472523
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #402b03;
/* rgb */ color: rgb(64, 43, 3);
/* oklch */ color: oklch(30.7% 0.061 78.3);
Tailwind
colors: {
  custom: {
    50: '#786448',
    500: '#402b03',
    950: '#000000',
  },
}
SCSS
$custom: #402b03;
$custom-light: #786448;
$custom-dark: #000000;
JSON
{
  "hex": "#402b03",
  "rgb": {
    "r": 64,
    "g": 43,
    "b": 3
  },
  "hsl": {
    "h": 39.344,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.30661,
    "c": 0.06101,
    "h": 78.3
  },
  "luminance": 0.02824
}

Semantic roles & 50–950 ramp

primary
#402B03
secondary
#1D4082
accent
#73FF29
background
#F7F5F4
surface
#EEEAE6
border
#C9C6C2
text
#090500
muted
#7B7977

Preview Lab

Preview with #402B03

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

Preview Lab → · Contrast checker → · Palette generator →

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