#404009#404009

#404009 is a dark, moderate yellow. Relative luminance 0.048; OKLCH L 36.0% C 0.072 H 109.5°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#404009
RGBrgb(64, 64, 9)
HSLhsl(60, 75%, 14%)
HSVhsv(60, 86%, 25%)
CMYKcmyk(0%, 0%, 85.9%, 74.9%)
CIE-LABlab(26.09, -7.54, 31.11)
CIE-LCHlch(26.09, 32.01, 103.62°)
OKLaboklab(36.03% -0.0241 0.068)
OKLCHoklch(36.03% 0.072 109.5)
XYZxyz(3.9972, 4.7766, 0.9698)
Luminance0.0478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404009 #090940
analogous
#402509 #404009 #254009
triadic
#404009 #094040 #400940
tetradic
#404009 #094025 #090940 #400925
square
#404009 #094025 #090940 #400925
split-complementary
#404009 #092540 #250940
monochromatic
#1B1B04 #1B1B04 #404009 #767611 #ABAB18

Accessibility & contrast

On white

10.74
#404009 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#404009 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404009
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404009#FFFFFF#000000##FFFFFF
##4040091.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D01
Deuteranopia (green-blind)
#473F0E
Tritanopia (blue-blind)
#453B36
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #404009;
/* rgb */ color: rgb(64, 64, 9);
/* oklch */ color: oklch(36.0% 0.072 109.5);
Tailwind
colors: {
  custom: {
    50: '#77744e',
    500: '#404009',
    950: '#000000',
  },
}
SCSS
$custom: #404009;
$custom-light: #77744e;
$custom-dark: #000000;
JSON
{
  "hex": "#404009",
  "rgb": {
    "r": 64,
    "g": 64,
    "b": 9
  },
  "hsl": {
    "h": 60,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.36025,
    "c": 0.0722,
    "h": 109.5
  },
  "luminance": 0.04777
}

Semantic roles & 50–950 ramp

primary
#404009
secondary
#27277E
accent
#36F236
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #404009

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

Preview Lab → · Contrast checker → · Palette generator →

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