#40342B#40342B

#40342B is a dark, muted orange. Relative luminance 0.037; OKLCH L 33.5% C 0.023 H 58.7°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#40342B
RGBrgb(64, 52, 43)
HSLhsl(26, 20%, 21%)
HSVhsv(26, 33%, 25%)
CMYKcmyk(0%, 18.8%, 32.8%, 74.9%)
CIE-LABlab(22.73, 3.73, 7.71)
CIE-LCHlch(22.73, 8.56, 64.19°)
OKLaboklab(33.53% 0.012 0.0197)
OKLCHoklch(33.53% 0.023 58.7)
XYZxyz(3.7784, 3.7205, 2.8041)
Luminance0.0372 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40342B #2B3740
analogous
#402B2C #40342B #403E2B
triadic
#40342B #2B4034 #342B40
tetradic
#40342B #2C402B #2B3740 #3E2B40
square
#40342B #2C402B #2B3740 #3E2B40
split-complementary
#40342B #2B403E #2B2C40
monochromatic
#120F0C #1B1612 #40342B #655244 #896F5C

Accessibility & contrast

On white

12.04
#40342B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#40342B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40342B
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40342B#FFFFFF#000000##FFFFFF
##40342B1.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38352A
Deuteranopia (green-blind)
#3A372B
Tritanopia (blue-blind)
#443232
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #40342b;
/* rgb */ color: rgb(64, 52, 43);
/* oklch */ color: oklch(33.5% 0.023 58.7);
Tailwind
colors: {
  custom: {
    50: '#756b64',
    500: '#40342b',
    950: '#000000',
  },
}
SCSS
$custom: #40342b;
$custom-light: #756b64;
$custom-dark: #000000;
JSON
{
  "hex": "#40342b",
  "rgb": {
    "r": 64,
    "g": 52,
    "b": 43
  },
  "hsl": {
    "h": 25.714,
    "s": 19.626,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33525,
    "c": 0.02307,
    "h": 58.7
  },
  "luminance": 0.0372
}

Semantic roles & 50–950 ramp

primary
#40342B
secondary
#566571
accent
#9ABC6C
background
#F7F6F5
surface
#EDEBEA
border
#C8C6C6
text
#080605
muted
#7B7A79

Preview Lab

Preview with #40342B

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

Preview Lab → · Contrast checker → · Palette generator →

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