#40331F#40331F

#40331F is a dark, muted orange. Relative luminance 0.036; OKLCH L 33.0% C 0.037 H 77.7°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#40331F
RGBrgb(64, 51, 31)
HSLhsl(36, 35%, 19%)
HSVhsv(36, 52%, 25%)
CMYKcmyk(0%, 20.3%, 51.6%, 74.9%)
CIE-LABlab(22.15, 2.63, 14.86)
CIE-LCHlch(22.15, 15.10, 79.96°)
OKLaboklab(32.99% 0.0079 0.0363)
OKLCHoklch(32.99% 0.037 77.7)
XYZxyz(3.5456, 3.5568, 1.7958)
Luminance0.0356 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40331F #1F2C40
analogous
#40221F #40331F #3C401F
triadic
#40331F #1F4033 #331F40
tetradic
#40331F #1F4022 #1F2C40 #401F3C
square
#40331F #1F4022 #1F2C40 #401F3C
split-complementary
#40331F #1F3C40 #221F40
monochromatic
#15100A #17120B #40331F #695433 #927547

Accessibility & contrast

On white

12.27
#40331F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#40331F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40331F
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40331F#FFFFFF#000000##FFFFFF
##40331F1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331D
Deuteranopia (green-blind)
#3B3620
Tritanopia (blue-blind)
#452F2E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #40331f;
/* rgb */ color: rgb(64, 51, 31);
/* oklch */ color: oklch(33.0% 0.037 77.7);
Tailwind
colors: {
  custom: {
    50: '#766a5b',
    500: '#40331f',
    950: '#000000',
  },
}
SCSS
$custom: #40331f;
$custom-light: #766a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#40331f",
  "rgb": {
    "r": 64,
    "g": 51,
    "b": 31
  },
  "hsl": {
    "h": 36.364,
    "s": 34.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.32986,
    "c": 0.03717,
    "h": 77.7
  },
  "luminance": 0.03557
}

Semantic roles & 50–950 ramp

primary
#40331F
secondary
#475974
accent
#88CB5D
background
#F7F6F5
surface
#EDEBE9
border
#C8C6C5
text
#080604
muted
#7B7A79

Preview Lab

Preview with #40331F

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

Preview Lab → · Contrast checker → · Palette generator →

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