#404816#404816

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

Color values

HEX#404816
RGBrgb(64, 72, 22)
HSLhsl(70, 53%, 18%)
HSVhsv(70, 69%, 28%)
CMYKcmyk(11.1%, 0%, 69.4%, 71.8%)
CIE-LABlab(28.86, -11.45, 28.01)
CIE-LCHlch(28.86, 30.26, 112.23°)
OKLaboklab(38.28% -0.0336 0.064)
OKLCHoklch(38.28% 0.072 117.7)
XYZxyz(4.5766, 5.7827, 1.6340)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404816 #1E1648
analogous
#483716 #404816 #274816
triadic
#404816 #164048 #481640
tetradic
#404816 #164837 #1E1648 #481627
square
#404816 #164837 #1E1648 #481627
split-complementary
#404816 #162748 #371648
monochromatic
#151707 #161908 #404816 #6A7724 #93A633

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##404816#FFFFFF#000000##FFFFFF
##4048161.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)
#4D4410
Deuteranopia (green-blind)
#4C4419
Tritanopia (blue-blind)
#44443E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #404816;
/* rgb */ color: rgb(64, 72, 22);
/* oklch */ color: oklch(38.3% 0.072 117.7);
Tailwind
colors: {
  custom: {
    50: '#767a56',
    500: '#404816',
    950: '#000000',
  },
}
SCSS
$custom: #404816;
$custom-light: #767a56;
$custom-dark: #000000;
JSON
{
  "hex": "#404816",
  "rgb": {
    "r": 64,
    "g": 72,
    "b": 22
  },
  "hsl": {
    "h": 69.6,
    "s": 53.191,
    "l": 18.431
  },
  "oklch": {
    "l": 0.38276,
    "c": 0.0723,
    "h": 117.7
  },
  "luminance": 0.05783
}

Semantic roles & 50–950 ramp

primary
#404816
secondary
#453A7F
accent
#4BDD62
background
#F7F7F5
surface
#EDEDE9
border
#C8C8C5
text
#090903
muted
#7B7B78

Preview Lab

Preview with #404816

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

Preview Lab → · Contrast checker → · Palette generator →

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