#404024#404024

#404024 is a dark, muted yellow. Relative luminance 0.049; OKLCH L 36.4% C 0.044 H 108.4°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#404024
RGBrgb(64, 64, 36)
HSLhsl(60, 28%, 20%)
HSVhsv(60, 44%, 25%)
CMYKcmyk(0%, 0%, 43.8%, 74.9%)
CIE-LABlab(26.40, -5.08, 17.13)
CIE-LCHlch(26.40, 17.87, 106.50°)
OKLaboklab(36.38% -0.0139 0.0418)
OKLCHoklch(36.38% 0.044 108.4)
XYZxyz(4.2662, 4.8842, 2.3867)
Luminance0.0488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404024 #242440
analogous
#403224 #404024 #324024
triadic
#404024 #244040 #402440
tetradic
#404024 #244032 #242440 #402432
square
#404024 #244032 #242440 #402432
split-complementary
#404024 #243240 #322440
monochromatic
#14140B #19190E #404024 #67673A #8E8E50

Accessibility & contrast

On white

10.62
#404024 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#404024 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404024
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404024#FFFFFF#000000##FFFFFF
##4040241.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443E22
Deuteranopia (green-blind)
#453F25
Tritanopia (blue-blind)
#443D39
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #404024;
/* rgb */ color: rgb(64, 64, 36);
/* oklch */ color: oklch(36.4% 0.044 108.4);
Tailwind
colors: {
  custom: {
    50: '#75745f',
    500: '#404024',
    950: '#000000',
  },
}
SCSS
$custom: #404024;
$custom-light: #75745f;
$custom-dark: #000000;
JSON
{
  "hex": "#404024",
  "rgb": {
    "r": 64,
    "g": 64,
    "b": 36
  },
  "hsl": {
    "h": 60,
    "s": 28,
    "l": 19.608
  },
  "oklch": {
    "l": 0.36376,
    "c": 0.04405,
    "h": 108.4
  },
  "luminance": 0.04884
}

Semantic roles & 50–950 ramp

primary
#404024
secondary
#4D4D73
accent
#63C463
background
#F7F7F5
surface
#EDEDE9
border
#C8C8C5
text
#080804
muted
#7B7B79

Preview Lab

Preview with #404024

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

Preview Lab → · Contrast checker → · Palette generator →

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