#40342C#40342C

#40342C is a dark, muted orange. Relative luminance 0.037; OKLCH L 33.6% C 0.022 H 55.5°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#40342C
RGBrgb(64, 52, 44)
HSLhsl(24, 19%, 21%)
HSVhsv(24, 31%, 25%)
CMYKcmyk(0%, 18.8%, 31.2%, 74.9%)
CIE-LABlab(22.75, 3.89, 7.07)
CIE-LCHlch(22.75, 8.07, 61.16°)
OKLaboklab(33.55% 0.0125 0.0182)
OKLCHoklch(33.55% 0.022 55.5)
XYZxyz(3.7970, 3.7280, 2.9019)
Luminance0.0373 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40342C #2C3840
analogous
#402C2E #40342C #403E2C
triadic
#40342C #2C4034 #342C40
tetradic
#40342C #2E402C #2C3840 #3E2C40
square
#40342C #2E402C #2C3840 #3E2C40
split-complementary
#40342C #2C403E #2C2E40
monochromatic
#120F0C #1C1713 #40342C #645145 #896F5E

Accessibility & contrast

On white

12.03
#40342C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#40342C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40342C
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40342C#FFFFFF#000000##FFFFFF
##40342C1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37352B
Deuteranopia (green-blind)
#3A372C
Tritanopia (blue-blind)
#443232
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #40342c;
/* rgb */ color: rgb(64, 52, 44);
/* oklch */ color: oklch(33.6% 0.022 55.5);
Tailwind
colors: {
  custom: {
    50: '#756b65',
    500: '#40342c',
    950: '#000000',
  },
}
SCSS
$custom: #40342c;
$custom-light: #756b65;
$custom-dark: #000000;
JSON
{
  "hex": "#40342c",
  "rgb": {
    "r": 64,
    "g": 52,
    "b": 44
  },
  "hsl": {
    "h": 24,
    "s": 18.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33553,
    "c": 0.02203,
    "h": 55.5
  },
  "luminance": 0.03728
}

Semantic roles & 50–950 ramp

primary
#40342C
secondary
#576671
accent
#9CBB6D
background
#F7F6F6
surface
#EDEBEB
border
#C8C6C6
text
#080605
muted
#7B7A7A

Preview Lab

Preview with #40342C

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

Preview Lab → · Contrast checker → · Palette generator →

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