#404809#404809

#404809 is a dark, moderate yellow. Relative luminance 0.057; OKLCH L 38.2% C 0.082 H 117.0°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#404809
RGBrgb(64, 72, 9)
HSLhsl(68, 78%, 16%)
HSVhsv(68, 88%, 28%)
CMYKcmyk(11.1%, 0%, 87.5%, 71.8%)
CIE-LABlab(28.76, -12.30, 33.53)
CIE-LCHlch(28.76, 35.71, 110.14°)
OKLaboklab(38.17% -0.0373 0.0732)
OKLCHoklch(38.17% 0.082 117)
XYZxyz(4.4811, 5.7445, 1.1311)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404809 #110948
analogous
#483009 #404809 #204809
triadic
#404809 #094048 #480940
tetradic
#404809 #094830 #110948 #480920
square
#404809 #094830 #110948 #480920
split-complementary
#404809 #092048 #300948
monochromatic
#181B03 #181B03 #404809 #707E10 #A1B517

Accessibility & contrast

On white

9.77
#404809 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#404809 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404809
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404809#FFFFFF#000000##FFFFFF
##4048091.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4400
Deuteranopia (green-blind)
#4D440F
Tritanopia (blue-blind)
#45433C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #404809;
/* rgb */ color: rgb(64, 72, 9);
/* oklch */ color: oklch(38.2% 0.082 117.0);
Tailwind
colors: {
  custom: {
    50: '#777a4f',
    500: '#404809',
    950: '#000000',
  },
}
SCSS
$custom: #404809;
$custom-light: #777a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#404809",
  "rgb": {
    "r": 64,
    "g": 72,
    "b": 9
  },
  "hsl": {
    "h": 67.619,
    "s": 77.778,
    "l": 15.882
  },
  "oklch": {
    "l": 0.38165,
    "c": 0.08216,
    "h": 117
  },
  "luminance": 0.05744
}

Semantic roles & 50–950 ramp

primary
#404809
secondary
#332785
accent
#34F44C
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #404809

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

Preview Lab → · Contrast checker → · Palette generator →

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