#40342D#40342D

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

Color values

HEX#40342D
RGBrgb(64, 52, 45)
HSLhsl(22, 17%, 21%)
HSVhsv(22, 30%, 25%)
CMYKcmyk(0%, 18.8%, 29.7%, 74.9%)
CIE-LABlab(22.78, 4.07, 6.44)
CIE-LCHlch(22.78, 7.61, 57.73°)
OKLaboklab(33.58% 0.013 0.0166)
OKLCHoklch(33.58% 0.021 52)
XYZxyz(3.8160, 3.7356, 3.0021)
Luminance0.0374 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40342D #2D3940
analogous
#402D30 #40342D #403E2D
triadic
#40342D #2D4034 #342D40
tetradic
#40342D #30402D #2D3940 #3E2D40
square
#40342D #30402D #2D3940 #3E2D40
split-complementary
#40342D #2D403E #2D3040
monochromatic
#120F0D #1C1714 #40342D #645146 #886E60

Accessibility & contrast

On white

12.02
#40342D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40342D
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40342D#FFFFFF#000000##FFFFFF
##40342D1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40342d;
/* rgb */ color: rgb(64, 52, 45);
/* oklch */ color: oklch(33.6% 0.021 52.0);
Tailwind
colors: {
  custom: {
    50: '#756b65',
    500: '#40342d',
    950: '#000000',
  },
}
SCSS
$custom: #40342d;
$custom-light: #756b65;
$custom-dark: #000000;
JSON
{
  "hex": "#40342d",
  "rgb": {
    "r": 64,
    "g": 52,
    "b": 45
  },
  "hsl": {
    "h": 22.105,
    "s": 17.431,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33582,
    "c": 0.02106,
    "h": 52
  },
  "luminance": 0.03735
}

Semantic roles & 50–950 ramp

primary
#40342D
secondary
#586871
accent
#9EBA6E
background
#F7F6F6
surface
#EDEBEB
border
#C8C6C6
text
#080605
muted
#7B7A7A

Preview Lab

Preview with #40342D

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

Preview Lab → · Contrast checker → · Palette generator →

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