#404915#404915

#404915 is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.5% C 0.075 H 118.4°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#404915
RGBrgb(64, 73, 21)
HSLhsl(70, 55%, 18%)
HSVhsv(70, 71%, 29%)
CMYKcmyk(12.3%, 0%, 71.2%, 71.4%)
CIE-LABlab(29.18, -12.11, 28.85)
CIE-LCHlch(29.18, 31.29, 112.78°)
OKLaboklab(38.53% -0.0355 0.0657)
OKLCHoklch(38.53% 0.075 118.4)
XYZxyz(4.6323, 5.9093, 1.6059)
Luminance0.0591 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404915 #1E1549
analogous
#493815 #404915 #264915
triadic
#404915 #154049 #491540
tetradic
#404915 #154938 #1E1549 #491526
square
#404915 #154938 #1E1549 #491526
split-complementary
#404915 #152649 #381549
monochromatic
#151807 #161907 #404915 #6A7923 #93A830

Accessibility & contrast

On white

9.63
#404915 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #404915
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404915#FFFFFF#000000##FFFFFF
##4049151.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #404915;
/* rgb */ color: rgb(64, 73, 21);
/* oklch */ color: oklch(38.5% 0.075 118.4);
Tailwind
colors: {
  custom: {
    50: '#777b55',
    500: '#404915',
    950: '#000000',
  },
}
SCSS
$custom: #404915;
$custom-light: #777b55;
$custom-dark: #000000;
JSON
{
  "hex": "#404915",
  "rgb": {
    "r": 64,
    "g": 73,
    "b": 21
  },
  "hsl": {
    "h": 70.385,
    "s": 55.319,
    "l": 18.431
  },
  "oklch": {
    "l": 0.38534,
    "c": 0.07465,
    "h": 118.4
  },
  "luminance": 0.05909
}

Semantic roles & 50–950 ramp

primary
#404915
secondary
#453981
accent
#49DF63
background
#F7F7F5
surface
#EDEDE9
border
#C8C8C5
text
#090903
muted
#7B7B78

Preview Lab

Preview with #404915

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

Preview Lab → · Contrast checker → · Palette generator →

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