#404005#404005

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

Color values

HEX#404005
RGBrgb(64, 64, 5)
HSLhsl(60, 86%, 14%)
HSVhsv(60, 92%, 25%)
CMYKcmyk(0%, 0%, 92.2%, 74.9%)
CIE-LABlab(26.06, -7.75, 32.72)
CIE-LCHlch(26.06, 33.62, 103.32°)
OKLaboklab(36% -0.0252 0.0705)
OKLCHoklch(36% 0.075 109.6)
XYZxyz(3.9753, 4.7679, 0.8544)
Luminance0.0477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404005 #050540
analogous
#402205 #404005 #224005
triadic
#404005 #054040 #400540
tetradic
#404005 #054022 #050540 #400522
square
#404005 #054022 #050540 #400522
split-complementary
#404005 #052240 #220540
monochromatic
#1C1C02 #1C1C02 #404005 #797909 #B2B20E

Accessibility & contrast

On white

10.75
#404005 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#404005 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404005
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404005#FFFFFF#000000##FFFFFF
##4040051.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D00
Deuteranopia (green-blind)
#473E0A
Tritanopia (blue-blind)
#453B35
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #404005;
/* rgb */ color: rgb(64, 64, 5);
/* oklch */ color: oklch(36.0% 0.075 109.6);
Tailwind
colors: {
  custom: {
    50: '#77744c',
    500: '#404005',
    950: '#000000',
  },
}
SCSS
$custom: #404005;
$custom-light: #77744c;
$custom-dark: #000000;
JSON
{
  "hex": "#404005",
  "rgb": {
    "r": 64,
    "g": 64,
    "b": 5
  },
  "hsl": {
    "h": 60,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.35996,
    "c": 0.0749,
    "h": 109.6
  },
  "luminance": 0.04768
}

Semantic roles & 50–950 ramp

primary
#404005
secondary
#202081
accent
#2CFC2C
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090801
muted
#7B7B77

Preview Lab

Preview with #404005

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

Preview Lab → · Contrast checker → · Palette generator →

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