#404408#404408

#404408 is a dark, moderate yellow. Relative luminance 0.052; OKLCH L 37.1% C 0.078 H 113.6°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#404408
RGBrgb(64, 68, 8)
HSLhsl(64, 79%, 15%)
HSVhsv(64, 88%, 27%)
CMYKcmyk(5.9%, 0%, 88.2%, 73.3%)
CIE-LABlab(27.41, -10.00, 32.70)
CIE-LCHlch(27.41, 34.20, 107.00°)
OKLaboklab(37.08% -0.0311 0.0712)
OKLCHoklch(37.08% 0.078 113.6)
XYZxyz(4.2254, 5.2419, 1.0189)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404408 #0C0844
analogous
#442A08 #404408 #224408
triadic
#404408 #084044 #440840
tetradic
#404408 #08442A #0C0844 #440822
square
#404408 #08442A #0C0844 #440822
split-complementary
#404408 #082244 #2A0844
monochromatic
#1A1B03 #1A1B03 #404408 #747B0E #A7B215

Accessibility & contrast

On white

10.25
#404408 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#404408 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404408
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404408#FFFFFF#000000##FFFFFF
##4044081.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #404408;
/* rgb */ color: rgb(64, 68, 8);
/* oklch */ color: oklch(37.1% 0.078 113.6);
Tailwind
colors: {
  custom: {
    50: '#77774e',
    500: '#404408',
    950: '#000000',
  },
}
SCSS
$custom: #404408;
$custom-light: #77774e;
$custom-dark: #000000;
JSON
{
  "hex": "#404408",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 8
  },
  "hsl": {
    "h": 64,
    "s": 78.947,
    "l": 14.902
  },
  "oklch": {
    "l": 0.37083,
    "c": 0.0777,
    "h": 113.6
  },
  "luminance": 0.05242
}

Semantic roles & 50–950 ramp

primary
#404408
secondary
#2C2682
accent
#32F53F
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #404408

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

Preview Lab → · Contrast checker → · Palette generator →

#404408 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva