#40342F#40342F

#40342F is a dark, near-neutral orange. Relative luminance 0.038; OKLCH L 33.6% C 0.019 H 43.8°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#40342F
RGBrgb(64, 52, 47)
HSLhsl(18, 15%, 22%)
HSVhsv(18, 27%, 25%)
CMYKcmyk(0%, 18.8%, 26.6%, 74.9%)
CIE-LABlab(22.83, 4.42, 5.17)
CIE-LCHlch(22.83, 6.80, 49.46°)
OKLaboklab(33.64% 0.014 0.0134)
OKLCHoklch(33.64% 0.019 43.8)
XYZxyz(3.8555, 3.7513, 3.2098)
Luminance0.0375 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40342F #2F3B40
analogous
#402F33 #40342F #403D2F
triadic
#40342F #2F4034 #342F40
tetradic
#40342F #33402F #2F3B40 #3D2F40
square
#40342F #33402F #2F3B40 #3D2F40
split-complementary
#40342F #2F403D #2F3340
monochromatic
#120E0D #1D1715 #40342F #635149 #876D63

Accessibility & contrast

On white

12.00
#40342F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40342F
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40342F#FFFFFF#000000##FFFFFF
##40342F1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37352F
Deuteranopia (green-blind)
#3A372F
Tritanopia (blue-blind)
#433233
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #40342f;
/* rgb */ color: rgb(64, 52, 47);
/* oklch */ color: oklch(33.6% 0.019 43.8);
Tailwind
colors: {
  custom: {
    50: '#756b67',
    500: '#40342f',
    950: '#000000',
  },
}
SCSS
$custom: #40342f;
$custom-light: #756b67;
$custom-dark: #000000;
JSON
{
  "hex": "#40342f",
  "rgb": {
    "r": 64,
    "g": 52,
    "b": 47
  },
  "hsl": {
    "h": 17.647,
    "s": 15.315,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33643,
    "c": 0.01937,
    "h": 43.8
  },
  "luminance": 0.03751
}

Semantic roles & 50–950 ramp

primary
#40342F
secondary
#5B6A70
accent
#A3B870
background
#F7F6F6
surface
#EDEBEB
border
#C8C6C6
text
#080606
muted
#7B7A7A

Preview Lab

Preview with #40342F

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

Preview Lab → · Contrast checker → · Palette generator →

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