#40372E#40372E

#40372E is a dark, near-neutral orange. Relative luminance 0.040; OKLCH L 34.3% C 0.020 H 67.1°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#40372E
RGBrgb(64, 55, 46)
HSLhsl(30, 16%, 22%)
HSVhsv(30, 28%, 25%)
CMYKcmyk(0%, 14.1%, 28.1%, 74.9%)
CIE-LABlab(23.74, 2.26, 7.11)
CIE-LCHlch(23.74, 7.46, 72.38°)
OKLaboklab(34.34% 0.0077 0.0183)
OKLCHoklch(34.34% 0.02 67.1)
XYZxyz(3.9737, 4.0197, 3.1508)
Luminance0.0402 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40372E #2E3740
analogous
#402E2E #40372E #40402E
triadic
#40372E #2E4037 #372E40
tetradic
#40372E #2E402E #2E3740 #402E40
square
#40372E #2E402E #2E3740 #402E40
split-complementary
#40372E #2E4040 #2E2E40
monochromatic
#120F0D #1C1814 #40372E #645648 #877461

Accessibility & contrast

On white

11.64
#40372E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#40372E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40372E
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40372E#FFFFFF#000000##FFFFFF
##40372E1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A372D
Deuteranopia (green-blind)
#3C392E
Tritanopia (blue-blind)
#433534
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #40372e;
/* rgb */ color: rgb(64, 55, 46);
/* oklch */ color: oklch(34.3% 0.020 67.1);
Tailwind
colors: {
  custom: {
    50: '#756d66',
    500: '#40372e',
    950: '#000000',
  },
}
SCSS
$custom: #40372e;
$custom-light: #756d66;
$custom-dark: #000000;
JSON
{
  "hex": "#40372e",
  "rgb": {
    "r": 64,
    "g": 55,
    "b": 46
  },
  "hsl": {
    "h": 30,
    "s": 16.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.34342,
    "c": 0.01983,
    "h": 67.1
  },
  "luminance": 0.0402
}

Semantic roles & 50–950 ramp

primary
#40372E
secondary
#596570
accent
#94B96F
background
#F7F6F6
surface
#EDEBEB
border
#C8C6C6
text
#080706
muted
#7B7A7A

Preview Lab

Preview with #40372E

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

Preview Lab → · Contrast checker → · Palette generator →

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