#404908#404908

#404908 is a dark, moderate yellow. Relative luminance 0.059; OKLCH L 38.4% C 0.084 H 117.7°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#404908
RGBrgb(64, 73, 8)
HSLhsl(68, 80%, 16%)
HSVhsv(68, 89%, 29%)
CMYKcmyk(12.3%, 0%, 89%, 71.4%)
CIE-LABlab(29.09, -12.92, 34.19)
CIE-LCHlch(29.09, 36.55, 110.70°)
OKLaboklab(38.43% -0.0391 0.0744)
OKLCHoklch(38.43% 0.084 117.7)
XYZxyz(4.5408, 5.8727, 1.1240)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404908 #110849
analogous
#493108 #404908 #1F4908
triadic
#404908 #084049 #490840
tetradic
#404908 #084931 #110849 #49081F
square
#404908 #084931 #110849 #49081F
split-complementary
#404908 #081F49 #310849
monochromatic
#181C03 #181C03 #404908 #70800E #A1B714

Accessibility & contrast

On white

9.66
#404908 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#404908 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404908
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404908#FFFFFF#000000##FFFFFF
##4049081.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4400
Deuteranopia (green-blind)
#4E450F
Tritanopia (blue-blind)
#45443D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #404908;
/* rgb */ color: rgb(64, 73, 8);
/* oklch */ color: oklch(38.4% 0.084 117.7);
Tailwind
colors: {
  custom: {
    50: '#777b4f',
    500: '#404908',
    950: '#000000',
  },
}
SCSS
$custom: #404908;
$custom-light: #777b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#404908",
  "rgb": {
    "r": 64,
    "g": 73,
    "b": 8
  },
  "hsl": {
    "h": 68.308,
    "s": 80.247,
    "l": 15.882
  },
  "oklch": {
    "l": 0.38429,
    "c": 0.08404,
    "h": 117.7
  },
  "luminance": 0.05873
}

Semantic roles & 50–950 ramp

primary
#404908
secondary
#332687
accent
#31F74C
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #404908

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

Preview Lab → · Contrast checker → · Palette generator →

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