#40300A#40300A

#40300A is a dark, muted orange. Relative luminance 0.032; OKLCH L 31.9% C 0.057 H 84.9°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#40300A
RGBrgb(64, 48, 10)
HSLhsl(42, 73%, 15%)
HSVhsv(42, 84%, 25%)
CMYKcmyk(0%, 25%, 84.4%, 74.9%)
CIE-LABlab(20.93, 2.72, 25.50)
CIE-LCHlch(20.93, 25.64, 83.90°)
OKLaboklab(31.94% 0.0051 0.057)
OKLCHoklch(31.94% 0.057 84.9)
XYZxyz(3.2263, 3.2260, 0.7399)
Luminance0.0323 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40300A #0A1A40
analogous
#40150A #40300A #35400A
triadic
#40300A #0A4030 #300A40
tetradic
#40300A #0A4015 #0A1A40 #400A35
square
#40300A #0A4015 #0A1A40 #400A35
split-complementary
#40300A #0A3540 #150A40
monochromatic
#1A1404 #1A1404 #40300A #755812 #AA7F1B

Accessibility & contrast

On white

12.76
#40300A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#40300A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40300A
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40300A#FFFFFF#000000##FFFFFF
##40300A1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373005
Deuteranopia (green-blind)
#3B340C
Tritanopia (blue-blind)
#462B28
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #40300a;
/* rgb */ color: rgb(64, 48, 10);
/* oklch */ color: oklch(31.9% 0.057 84.9);
Tailwind
colors: {
  custom: {
    50: '#77684c',
    500: '#40300a',
    950: '#000000',
  },
}
SCSS
$custom: #40300a;
$custom-light: #77684c;
$custom-dark: #000000;
JSON
{
  "hex": "#40300a",
  "rgb": {
    "r": 64,
    "g": 48,
    "b": 10
  },
  "hsl": {
    "h": 42.222,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.31935,
    "c": 0.05718,
    "h": 84.9
  },
  "luminance": 0.03226
}

Semantic roles & 50–950 ramp

primary
#40300A
secondary
#29427D
accent
#6FF038
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090601
muted
#7B7A77

Preview Lab

Preview with #40300A

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

Preview Lab → · Contrast checker → · Palette generator →

#40300A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva