#404D0A#404D0A

#404D0A is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.5% C 0.088 H 120.6°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#404D0A
RGBrgb(64, 77, 10)
HSLhsl(72, 77%, 17%)
HSVhsv(72, 87%, 30%)
CMYKcmyk(16.9%, 0%, 87%, 69.8%)
CIE-LABlab(30.45, -15.09, 34.70)
CIE-LCHlch(30.45, 37.84, 113.51°)
OKLaboklab(39.53% -0.0449 0.0759)
OKLCHoklch(39.53% 0.088 120.6)
XYZxyz(4.8231, 6.4197, 1.2721)
Luminance0.0642 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404D0A #170A4D
analogous
#4D390A #404D0A #1F4D0A
triadic
#404D0A #0A404D #4D0A40
tetradic
#404D0A #0A4D39 #170A4D #4D0A1F
square
#404D0A #0A4D39 #170A4D #4D0A1F
split-complementary
#404D0A #0A1F4D #390A4D
monochromatic
#171B04 #171B04 #404D0A #6D8311 #9AB918

Accessibility & contrast

On white

9.19
#404D0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#404D0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404D0A
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404D0A#FFFFFF#000000##FFFFFF
##404D0A1.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524800
Deuteranopia (green-blind)
#514811
Tritanopia (blue-blind)
#444841
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #404d0a;
/* rgb */ color: rgb(64, 77, 10);
/* oklch */ color: oklch(39.5% 0.088 120.6);
Tailwind
colors: {
  custom: {
    50: '#777e50',
    500: '#404d0a',
    950: '#000000',
  },
}
SCSS
$custom: #404d0a;
$custom-light: #777e50;
$custom-dark: #000000;
JSON
{
  "hex": "#404d0a",
  "rgb": {
    "r": 64,
    "g": 77,
    "b": 10
  },
  "hsl": {
    "h": 71.642,
    "s": 77.011,
    "l": 17.059
  },
  "oklch": {
    "l": 0.39527,
    "c": 0.08818,
    "h": 120.6
  },
  "luminance": 0.0642
}

Semantic roles & 50–950 ramp

primary
#404D0A
secondary
#3C298A
accent
#34F459
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#090A02
muted
#7B7C78

Preview Lab

Preview with #404D0A

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

Preview Lab → · Contrast checker → · Palette generator →

#404D0A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva