#40240E#40240E

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

Color values

HEX#40240E
RGBrgb(64, 36, 14)
HSLhsl(26, 64%, 15%)
HSVhsv(26, 78%, 25%)
CMYKcmyk(0%, 43.8%, 78.1%, 74.9%)
CIE-LABlab(17.38, 10.98, 19.58)
CIE-LCHlch(17.38, 22.45, 60.72°)
OKLaboklab(29.19% 0.03 0.0454)
OKLCHoklch(29.19% 0.054 56.5)
XYZxyz(2.8247, 2.3837, 0.7267)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40240E #0E2A40
analogous
#400E11 #40240E #403D0E
triadic
#40240E #0E4024 #240E40
tetradic
#40240E #11400E #0E2A40 #3D0E40
square
#40240E #11400E #0E2A40 #3D0E40
split-complementary
#40240E #0E403D #0E1140
monochromatic
#190E05 #190E05 #40240E #724019 #A45C24

Accessibility & contrast

On white

14.22
#40240E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40240E
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40240E#FFFFFF#000000##FFFFFF
##40240E1.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40240e;
/* rgb */ color: rgb(64, 36, 14);
/* oklch */ color: oklch(29.2% 0.054 56.5);
Tailwind
colors: {
  custom: {
    50: '#785e4d',
    500: '#40240e',
    950: '#000000',
  },
}
SCSS
$custom: #40240e;
$custom-light: #785e4d;
$custom-dark: #000000;
JSON
{
  "hex": "#40240e",
  "rgb": {
    "r": 64,
    "g": 36,
    "b": 14
  },
  "hsl": {
    "h": 26.4,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.29186,
    "c": 0.05437,
    "h": 56.5
  },
  "luminance": 0.02383
}

Semantic roles & 50–950 ramp

primary
#40240E
secondary
#2F597B
accent
#9EE741
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090401
muted
#7B7977

Preview Lab

Preview with #40240E

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

Preview Lab → · Contrast checker → · Palette generator →

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