#40240A#40240A

#40240A is a dark, muted orange. Relative luminance 0.024; OKLCH L 29.1% C 0.057 H 60.0°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#40240A
RGBrgb(64, 36, 10)
HSLhsl(29, 73%, 15%)
HSVhsv(29, 84%, 25%)
CMYKcmyk(0%, 43.8%, 84.4%, 74.9%)
CIE-LABlab(17.34, 10.73, 21.34)
CIE-LCHlch(17.34, 23.89, 63.32°)
OKLaboklab(29.14% 0.0285 0.0493)
OKLCHoklch(29.14% 0.057 60)
XYZxyz(2.8002, 2.3739, 0.5978)
Luminance0.0237 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40240A #0A2640
analogous
#400A0B #40240A #403F0A
triadic
#40240A #0A4024 #240A40
tetradic
#40240A #0B400A #0A2640 #3F0A40
square
#40240A #0B400A #0A2640 #3F0A40
split-complementary
#40240A #0A403F #0A0B40
monochromatic
#1A0F04 #1A0F04 #40240A #754212 #AA601B

Accessibility & contrast

On white

14.24
#40240A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#40240A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40240A
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40240A#FFFFFF#000000##FFFFFF
##40240A1.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2707
Deuteranopia (green-blind)
#332D0A
Tritanopia (blue-blind)
#471E1F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #40240a;
/* rgb */ color: rgb(64, 36, 10);
/* oklch */ color: oklch(29.1% 0.057 60.0);
Tailwind
colors: {
  custom: {
    50: '#785e4b',
    500: '#40240a',
    950: '#000000',
  },
}
SCSS
$custom: #40240a;
$custom-light: #785e4b;
$custom-dark: #000000;
JSON
{
  "hex": "#40240a",
  "rgb": {
    "r": 64,
    "g": 36,
    "b": 10
  },
  "hsl": {
    "h": 28.889,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.29136,
    "c": 0.05695,
    "h": 60
  },
  "luminance": 0.02374
}

Semantic roles & 50–950 ramp

primary
#40240A
secondary
#29547D
accent
#97F038
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090401
muted
#7B7977

Preview Lab

Preview with #40240A

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

Preview Lab → · Contrast checker → · Palette generator →

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