#404911#404911

#404911 is a dark, moderate yellow. Relative luminance 0.059; OKLCH L 38.5% C 0.078 H 118.2°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#404911
RGBrgb(64, 73, 17)
HSLhsl(70, 62%, 18%)
HSVhsv(70, 77%, 29%)
CMYKcmyk(12.3%, 0%, 76.7%, 71.4%)
CIE-LABlab(29.15, -12.41, 30.70)
CIE-LCHlch(29.15, 33.11, 112.02°)
OKLaboklab(38.5% -0.0368 0.0688)
OKLCHoklch(38.5% 0.078 118.2)
XYZxyz(4.5982, 5.8956, 1.4259)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404911 #1A1149
analogous
#493611 #404911 #244911
triadic
#404911 #114049 #491140
tetradic
#404911 #114936 #1A1149 #491124
square
#404911 #114936 #1A1149 #491124
split-complementary
#404911 #112449 #361149
monochromatic
#161906 #161906 #404911 #6C7B1D #97AC28

Accessibility & contrast

On white

9.64
#404911 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#404911 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404911
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404911#FFFFFF#000000##FFFFFF
##4049111.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4508
Deuteranopia (green-blind)
#4D4515
Tritanopia (blue-blind)
#44453E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #404911;
/* rgb */ color: rgb(64, 73, 17);
/* oklch */ color: oklch(38.5% 0.078 118.2);
Tailwind
colors: {
  custom: {
    50: '#777b53',
    500: '#404911',
    950: '#000000',
  },
}
SCSS
$custom: #404911;
$custom-light: #777b53;
$custom-dark: #000000;
JSON
{
  "hex": "#404911",
  "rgb": {
    "r": 64,
    "g": 73,
    "b": 17
  },
  "hsl": {
    "h": 69.643,
    "s": 62.222,
    "l": 17.647
  },
  "oklch": {
    "l": 0.38495,
    "c": 0.07806,
    "h": 118.2
  },
  "luminance": 0.05896
}

Semantic roles & 50–950 ramp

primary
#404911
secondary
#403382
accent
#43E55D
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #404911

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

Preview Lab → · Contrast checker → · Palette generator →

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