#40440E#40440E

#40440E 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#40440E
RGBrgb(64, 68, 14)
HSLhsl(64, 66%, 16%)
HSVhsv(64, 79%, 27%)
CMYKcmyk(5.9%, 0%, 79.4%, 73.3%)
CIE-LABlab(27.45, -9.67, 30.34)
CIE-LCHlch(27.45, 31.85, 107.68°)
OKLaboklab(37.13% -0.0295 0.0675)
OKLCHoklch(37.13% 0.074 113.6)
XYZxyz(4.2609, 5.2560, 1.2054)
Luminance0.0526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40440E #120E44
analogous
#442D0E #40440E #25440E
triadic
#40440E #0E4044 #440E40
tetradic
#40440E #0E442D #120E44 #440E25
square
#40440E #0E442D #120E44 #440E25
split-complementary
#40440E #0E2544 #2D0E44
monochromatic
#181905 #181905 #40440E #707718 #A0AA23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40440E#FFFFFF#000000##FFFFFF
##40440E1.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)
#4A4005
Deuteranopia (green-blind)
#4A4112
Tritanopia (blue-blind)
#453F39
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #40440e;
/* rgb */ color: rgb(64, 68, 14);
/* oklch */ color: oklch(37.1% 0.074 113.6);
Tailwind
colors: {
  custom: {
    50: '#777751',
    500: '#40440e',
    950: '#000000',
  },
}
SCSS
$custom: #40440e;
$custom-light: #777751;
$custom-dark: #000000;
JSON
{
  "hex": "#40440e",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 14
  },
  "hsl": {
    "h": 64.444,
    "s": 65.854,
    "l": 16.078
  },
  "oklch": {
    "l": 0.37127,
    "c": 0.07368,
    "h": 113.6
  },
  "luminance": 0.05256
}

Semantic roles & 50–950 ramp

primary
#40440E
secondary
#352F7F
accent
#3FE94C
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #40440E

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

Preview Lab → · Contrast checker → · Palette generator →

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