#404805#404805

#404805 is a dark, moderate yellow. Relative luminance 0.057; OKLCH L 38.1% C 0.085 H 116.9°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#404805
RGBrgb(64, 72, 5)
HSLhsl(67, 87%, 15%)
HSVhsv(67, 93%, 28%)
CMYKcmyk(11.1%, 0%, 93.1%, 71.8%)
CIE-LABlab(28.74, -12.49, 35.03)
CIE-LCHlch(28.74, 37.19, 109.63°)
OKLaboklab(38.14% -0.0382 0.0754)
OKLCHoklch(38.14% 0.085 116.9)
XYZxyz(4.4592, 5.7357, 1.0157)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404805 #0D0548
analogous
#482E05 #404805 #1F4805
triadic
#404805 #054048 #480540
tetradic
#404805 #05482E #0D0548 #48051F
square
#404805 #05482E #0D0548 #48051F
split-complementary
#404805 #051F48 #2E0548
monochromatic
#191D02 #191D02 #404805 #738109 #A6BA0D

Accessibility & contrast

On white

9.78
#404805 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #404805
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404805#FFFFFF#000000##FFFFFF
##4048051.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #404805;
/* rgb */ color: rgb(64, 72, 5);
/* oklch */ color: oklch(38.1% 0.085 116.9);
Tailwind
colors: {
  custom: {
    50: '#787a4d',
    500: '#404805',
    950: '#000000',
  },
}
SCSS
$custom: #404805;
$custom-light: #787a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#404805",
  "rgb": {
    "r": 64,
    "g": 72,
    "b": 5
  },
  "hsl": {
    "h": 67.164,
    "s": 87.013,
    "l": 15.098
  },
  "oklch": {
    "l": 0.38139,
    "c": 0.08457,
    "h": 116.9
  },
  "luminance": 0.05736
}

Semantic roles & 50–950 ramp

primary
#404805
secondary
#2D2188
accent
#2BFD44
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #404805

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

Preview Lab → · Contrast checker → · Palette generator →

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