#40440D#40440D

#40440D is a dark, moderate yellow. Relative luminance 0.053; OKLCH L 37.1% C 0.074 H 113.6°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#40440D
RGBrgb(64, 68, 13)
HSLhsl(64, 68%, 16%)
HSVhsv(64, 81%, 27%)
CMYKcmyk(5.9%, 0%, 80.9%, 73.3%)
CIE-LABlab(27.44, -9.74, 30.76)
CIE-LCHlch(27.44, 32.27, 107.56°)
OKLaboklab(37.12% -0.0298 0.0682)
OKLCHoklch(37.12% 0.074 113.6)
XYZxyz(4.2542, 5.2534, 1.1706)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40440D #110D44
analogous
#442C0D #40440D #24440D
triadic
#40440D #0D4044 #440D40
tetradic
#40440D #0D442C #110D44 #440D24
square
#40440D #0D442C #110D44 #440D24
split-complementary
#40440D #0D2444 #2C0D44
monochromatic
#181A05 #181A05 #40440D #707717 #A1AB21

Accessibility & contrast

On white

10.24
#40440D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#40440D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40440D
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40440D#FFFFFF#000000##FFFFFF
##40440D1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4004
Deuteranopia (green-blind)
#4A4111
Tritanopia (blue-blind)
#453F39
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #40440d;
/* rgb */ color: rgb(64, 68, 13);
/* oklch */ color: oklch(37.1% 0.074 113.6);
Tailwind
colors: {
  custom: {
    50: '#777750',
    500: '#40440d',
    950: '#000000',
  },
}
SCSS
$custom: #40440d;
$custom-light: #777750;
$custom-dark: #000000;
JSON
{
  "hex": "#40440d",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 13
  },
  "hsl": {
    "h": 64.364,
    "s": 67.901,
    "l": 15.882
  },
  "oklch": {
    "l": 0.37118,
    "c": 0.07441,
    "h": 113.6
  },
  "luminance": 0.05253
}

Semantic roles & 50–950 ramp

primary
#40440D
secondary
#332D7F
accent
#3DEB4A
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #40440D

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

Preview Lab → · Contrast checker → · Palette generator →

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