#40342E#40342E

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

Color values

HEX#40342E
RGBrgb(64, 52, 46)
HSLhsl(20, 16%, 22%)
HSVhsv(20, 28%, 25%)
CMYKcmyk(0%, 18.8%, 28.1%, 74.9%)
CIE-LABlab(22.80, 4.24, 5.80)
CIE-LCHlch(22.80, 7.19, 53.84°)
OKLaboklab(33.61% 0.0135 0.015)
OKLCHoklch(33.61% 0.02 48.1)
XYZxyz(3.8355, 3.7434, 3.1047)
Luminance0.0374 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40342E #2E3A40
analogous
#402E31 #40342E #403D2E
triadic
#40342E #2E4034 #342E40
tetradic
#40342E #31402E #2E3A40 #3D2E40
square
#40342E #31402E #2E3A40 #3D2E40
split-complementary
#40342E #2E403D #2E3140
monochromatic
#120E0D #1C1714 #40342E #645148 #876E61

Accessibility & contrast

On white

12.01
#40342E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40342E
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40342E#FFFFFF#000000##FFFFFF
##40342E1.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37352E
Deuteranopia (green-blind)
#3A372E
Tritanopia (blue-blind)
#433232
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #40342e;
/* rgb */ color: rgb(64, 52, 46);
/* oklch */ color: oklch(33.6% 0.020 48.1);
Tailwind
colors: {
  custom: {
    50: '#756b66',
    500: '#40342e',
    950: '#000000',
  },
}
SCSS
$custom: #40342e;
$custom-light: #756b66;
$custom-dark: #000000;
JSON
{
  "hex": "#40342e",
  "rgb": {
    "r": 64,
    "g": 52,
    "b": 46
  },
  "hsl": {
    "h": 20,
    "s": 16.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33612,
    "c": 0.02017,
    "h": 48.1
  },
  "luminance": 0.03743
}

Semantic roles & 50–950 ramp

primary
#40342E
secondary
#596970
accent
#A0B96F
background
#F7F6F6
surface
#EDEBEB
border
#C8C6C6
text
#080606
muted
#7B7A7A

Preview Lab

Preview with #40342E

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

Preview Lab → · Contrast checker → · Palette generator →

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