#40240B#40240B

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

Color values

HEX#40240B
RGBrgb(64, 36, 11)
HSLhsl(28, 71%, 15%)
HSVhsv(28, 83%, 25%)
CMYKcmyk(0%, 43.8%, 82.8%, 74.9%)
CIE-LABlab(17.35, 10.78, 20.94)
CIE-LCHlch(17.35, 23.55, 62.75°)
OKLaboklab(29.15% 0.0289 0.0484)
OKLCHoklch(29.15% 0.056 59.2)
XYZxyz(2.8059, 2.3762, 0.6274)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40240B #0B2740
analogous
#400B0C #40240B #403F0B
triadic
#40240B #0B4024 #240B40
tetradic
#40240B #0C400B #0B2740 #3F0B40
square
#40240B #0C400B #0B2740 #3F0B40
split-complementary
#40240B #0B403F #0B0C40
monochromatic
#1A0F04 #1A0F04 #40240B #744114 #A85F1D

Accessibility & contrast

On white

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

On black

1.48
#40240B on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##40240B#FFFFFF#000000##FFFFFF
##40240B1.0014.241.4814.24
#FFFFFF14.241.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40240b;
/* rgb */ color: rgb(64, 36, 11);
/* oklch */ color: oklch(29.1% 0.056 59.2);
Tailwind
colors: {
  custom: {
    50: '#785e4c',
    500: '#40240b',
    950: '#000000',
  },
}
SCSS
$custom: #40240b;
$custom-light: #785e4c;
$custom-dark: #000000;
JSON
{
  "hex": "#40240b",
  "rgb": {
    "r": 64,
    "g": 36,
    "b": 11
  },
  "hsl": {
    "h": 28.302,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.29148,
    "c": 0.05634,
    "h": 59.2
  },
  "luminance": 0.02376
}

Semantic roles & 50–950 ramp

primary
#40240B
secondary
#2A567D
accent
#99ED3A
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090401
muted
#7B7977

Preview Lab

Preview with #40240B

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

Preview Lab → · Contrast checker → · Palette generator →

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