#40372F#40372F

#40372F is a dark, near-neutral orange. Relative luminance 0.040; OKLCH L 34.4% C 0.019 H 63.8°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#40372F
RGBrgb(64, 55, 47)
HSLhsl(28, 15%, 22%)
HSVhsv(28, 27%, 25%)
CMYKcmyk(0%, 14.1%, 26.6%, 74.9%)
CIE-LABlab(23.76, 2.44, 6.48)
CIE-LCHlch(23.76, 6.92, 69.40°)
OKLaboklab(34.37% 0.0082 0.0167)
OKLCHoklch(34.37% 0.019 63.8)
XYZxyz(3.9937, 4.0277, 3.2558)
Luminance0.0403 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40372F #2F3840
analogous
#402F30 #40372F #40402F
triadic
#40372F #2F4037 #372F40
tetradic
#40372F #30402F #2F3840 #402F40
square
#40372F #30402F #2F3840 #402F40
split-complementary
#40372F #2F4040 #2F3040
monochromatic
#120F0D #1D1915 #40372F #635549 #877463

Accessibility & contrast

On white

11.63
#40372F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#40372F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40372F
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40372F#FFFFFF#000000##FFFFFF
##40372F1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A372E
Deuteranopia (green-blind)
#3C392F
Tritanopia (blue-blind)
#433535
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #40372f;
/* rgb */ color: rgb(64, 55, 47);
/* oklch */ color: oklch(34.4% 0.019 63.8);
Tailwind
colors: {
  custom: {
    50: '#756d67',
    500: '#40372f',
    950: '#000000',
  },
}
SCSS
$custom: #40372f;
$custom-light: #756d67;
$custom-dark: #000000;
JSON
{
  "hex": "#40372f",
  "rgb": {
    "r": 64,
    "g": 55,
    "b": 47
  },
  "hsl": {
    "h": 28.235,
    "s": 15.315,
    "l": 21.765
  },
  "oklch": {
    "l": 0.34371,
    "c": 0.01862,
    "h": 63.8
  },
  "luminance": 0.04028
}

Semantic roles & 50–950 ramp

primary
#40372F
secondary
#5B6670
accent
#96B870
background
#F7F6F6
surface
#EDEBEB
border
#C8C6C6
text
#080706
muted
#7B7A7A

Preview Lab

Preview with #40372F

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

Preview Lab → · Contrast checker → · Palette generator →

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