#40302A#40302A

#40302A is a dark, muted orange. Relative luminance 0.034; OKLCH L 32.5% C 0.026 H 41.5°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#40302A
RGBrgb(64, 48, 42)
HSLhsl(16, 21%, 21%)
HSVhsv(16, 34%, 25%)
CMYKcmyk(0%, 25%, 34.4%, 74.9%)
CIE-LABlab(21.47, 6.23, 6.64)
CIE-LCHlch(21.47, 9.10, 46.82°)
OKLaboklab(32.54% 0.0193 0.0171)
OKLCHoklch(32.54% 0.026 41.5)
XYZxyz(3.5893, 3.3712, 2.6517)
Luminance0.0337 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40302A #2A3A40
analogous
#402A2F #40302A #403B2A
triadic
#40302A #2A4030 #302A40
tetradic
#40302A #2F402A #2A3A40 #3B2A40
square
#40302A #2F402A #2A3A40 #3B2A40
split-complementary
#40302A #2A403B #2A2F40
monochromatic
#120E0C #1B1412 #40302A #654C42 #8A675A

Accessibility & contrast

On white

12.54
#40302A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#40302A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40302A
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40302A#FFFFFF#000000##FFFFFF
##40302A1.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34322A
Deuteranopia (green-blind)
#38352A
Tritanopia (blue-blind)
#442E2E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #40302a;
/* rgb */ color: rgb(64, 48, 42);
/* oklch */ color: oklch(32.5% 0.026 41.5);
Tailwind
colors: {
  custom: {
    50: '#756863',
    500: '#40302a',
    950: '#000000',
  },
}
SCSS
$custom: #40302a;
$custom-light: #756863;
$custom-dark: #000000;
JSON
{
  "hex": "#40302a",
  "rgb": {
    "r": 64,
    "g": 48,
    "b": 42
  },
  "hsl": {
    "h": 16.364,
    "s": 20.755,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32539,
    "c": 0.02575,
    "h": 41.5
  },
  "luminance": 0.03371
}

Semantic roles & 50–950 ramp

primary
#40302A
secondary
#556971
accent
#A7BD6A
background
#F7F6F5
surface
#EDEBEA
border
#C8C6C6
text
#080605
muted
#7B7A79

Preview Lab

Preview with #40302A

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

Preview Lab → · Contrast checker → · Palette generator →

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