#402C03#402C03

#402C03 is a dark, moderate orange. Relative luminance 0.029; OKLCH L 30.9% C 0.061 H 80.2°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#402C03
RGBrgb(64, 44, 3)
HSLhsl(40, 91%, 13%)
HSVhsv(40, 95%, 25%)
CMYKcmyk(0%, 31.2%, 95.3%, 74.9%)
CIE-LABlab(19.63, 4.99, 26.90)
CIE-LCHlch(19.63, 27.36, 79.50°)
OKLaboklab(30.9% 0.0104 0.0603)
OKLCHoklch(30.9% 0.061 80.2)
XYZxyz(3.0317, 2.8982, 0.4859)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402C03 #031740
analogous
#400D03 #402C03 #354003
triadic
#402C03 #03402C #2C0340
tetradic
#402C03 #03400D #031740 #400335
square
#402C03 #03400D #031740 #400335
split-complementary
#402C03 #033540 #0D0340
monochromatic
#1D1401 #1D1401 #402C03 #7A5406 #B57C08

Accessibility & contrast

On white

13.29
#402C03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#402C03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402C03
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402C03#FFFFFF#000000##FFFFFF
##402C031.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D00
Deuteranopia (green-blind)
#393204
Tritanopia (blue-blind)
#472624
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #402c03;
/* rgb */ color: rgb(64, 44, 3);
/* oklch */ color: oklch(30.9% 0.061 80.2);
Tailwind
colors: {
  custom: {
    50: '#786448',
    500: '#402c03',
    950: '#000000',
  },
}
SCSS
$custom: #402c03;
$custom-light: #786448;
$custom-dark: #000000;
JSON
{
  "hex": "#402c03",
  "rgb": {
    "r": 64,
    "g": 44,
    "b": 3
  },
  "hsl": {
    "h": 40.328,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.30899,
    "c": 0.06119,
    "h": 80.2
  },
  "luminance": 0.02898
}

Semantic roles & 50–950 ramp

primary
#402C03
secondary
#1D3E82
accent
#6FFF29
background
#F7F6F4
surface
#EEEBE6
border
#C9C6C2
text
#090501
muted
#7B7A77

Preview Lab

Preview with #402C03

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

Preview Lab → · Contrast checker → · Palette generator →

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