#40240C#40240C

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

Color values

HEX#40240C
RGBrgb(64, 36, 12)
HSLhsl(28, 68%, 15%)
HSVhsv(28, 81%, 25%)
CMYKcmyk(0%, 43.8%, 81.2%, 74.9%)
CIE-LABlab(17.36, 10.84, 20.51)
CIE-LCHlch(17.36, 23.20, 62.13°)
OKLaboklab(29.16% 0.0292 0.0474)
OKLCHoklch(29.16% 0.056 58.4)
XYZxyz(2.8118, 2.3786, 0.6588)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40240C #0C2840
analogous
#400C0E #40240C #403E0C
triadic
#40240C #0C4024 #240C40
tetradic
#40240C #0E400C #0C2840 #3E0C40
square
#40240C #0E400C #0C2840 #3E0C40
split-complementary
#40240C #0C403E #0C0E40
monochromatic
#1A0E05 #1A0E05 #40240C #744116 #A75E1F

Accessibility & contrast

On white

14.23
#40240C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40240C
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40240C#FFFFFF#000000##FFFFFF
##40240C1.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40240c;
/* rgb */ color: rgb(64, 36, 12);
/* oklch */ color: oklch(29.2% 0.056 58.4);
Tailwind
colors: {
  custom: {
    50: '#785e4c',
    500: '#40240c',
    950: '#000000',
  },
}
SCSS
$custom: #40240c;
$custom-light: #785e4c;
$custom-dark: #000000;
JSON
{
  "hex": "#40240c",
  "rgb": {
    "r": 64,
    "g": 36,
    "b": 12
  },
  "hsl": {
    "h": 27.692,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.2916,
    "c": 0.05569,
    "h": 58.4
  },
  "luminance": 0.02378
}

Semantic roles & 50–950 ramp

primary
#40240C
secondary
#2C577C
accent
#9BEB3D
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090401
muted
#7B7977

Preview Lab

Preview with #40240C

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

Preview Lab → · Contrast checker → · Palette generator →

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