#404815#404815

#404815 is a dark, moderate yellow. Relative luminance 0.058; OKLCH L 38.3% C 0.073 H 117.6°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#404815
RGBrgb(64, 72, 21)
HSLhsl(69, 55%, 18%)
HSVhsv(69, 71%, 28%)
CMYKcmyk(11.1%, 0%, 70.8%, 71.8%)
CIE-LABlab(28.85, -11.53, 28.50)
CIE-LCHlch(28.85, 30.74, 112.03°)
OKLaboklab(38.27% -0.0339 0.0649)
OKLCHoklch(38.27% 0.073 117.6)
XYZxyz(4.5672, 5.7789, 1.5842)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404815 #1D1548
analogous
#483615 #404815 #264815
triadic
#404815 #154048 #481540
tetradic
#404815 #154836 #1D1548 #481526
square
#404815 #154836 #1D1548 #481526
split-complementary
#404815 #152648 #361548
monochromatic
#151807 #161907 #404815 #6A7723 #94A731

Accessibility & contrast

On white

9.74
#404815 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#404815 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404815
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404815#FFFFFF#000000##FFFFFF
##4048151.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D440E
Deuteranopia (green-blind)
#4C4419
Tritanopia (blue-blind)
#44443D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #404815;
/* rgb */ color: rgb(64, 72, 21);
/* oklch */ color: oklch(38.3% 0.073 117.6);
Tailwind
colors: {
  custom: {
    50: '#767a55',
    500: '#404815',
    950: '#000000',
  },
}
SCSS
$custom: #404815;
$custom-light: #767a55;
$custom-dark: #000000;
JSON
{
  "hex": "#404815",
  "rgb": {
    "r": 64,
    "g": 72,
    "b": 21
  },
  "hsl": {
    "h": 69.412,
    "s": 54.839,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38265,
    "c": 0.07323,
    "h": 117.6
  },
  "luminance": 0.05779
}

Semantic roles & 50–950 ramp

primary
#404815
secondary
#443980
accent
#4ADE61
background
#F7F7F5
surface
#EDEDE9
border
#C8C8C5
text
#090903
muted
#7B7B78

Preview Lab

Preview with #404815

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

Preview Lab → · Contrast checker → · Palette generator →

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