#404D0D#404D0D

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

Color values

HEX#404D0D
RGBrgb(64, 77, 13)
HSLhsl(72, 71%, 18%)
HSVhsv(72, 83%, 30%)
CMYKcmyk(16.9%, 0%, 83.1%, 69.8%)
CIE-LABlab(30.46, -14.94, 33.64)
CIE-LCHlch(30.46, 36.81, 113.95°)
OKLaboklab(39.55% -0.0442 0.0742)
OKLCHoklch(39.55% 0.086 120.8)
XYZxyz(4.8410, 6.4268, 1.3662)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404D0D #1A0D4D
analogous
#4D3A0D #404D0D #204D0D
triadic
#404D0D #0D404D #4D0D40
tetradic
#404D0D #0D4D3A #1A0D4D #4D0D20
square
#404D0D #0D4D3A #1A0D4D #4D0D20
split-complementary
#404D0D #0D204D #3A0D4D
monochromatic
#161A04 #161A04 #404D0D #6C8116 #97B61F

Accessibility & contrast

On white

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

On black

2.29
#404D0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##404D0D#FFFFFF#000000##FFFFFF
##404D0D1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #404d0d;
/* rgb */ color: rgb(64, 77, 13);
/* oklch */ color: oklch(39.5% 0.086 120.8);
Tailwind
colors: {
  custom: {
    50: '#777e52',
    500: '#404d0d',
    950: '#000000',
  },
}
SCSS
$custom: #404d0d;
$custom-light: #777e52;
$custom-dark: #000000;
JSON
{
  "hex": "#404d0d",
  "rgb": {
    "r": 64,
    "g": 77,
    "b": 13
  },
  "hsl": {
    "h": 72.188,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.39546,
    "c": 0.0864,
    "h": 120.8
  },
  "luminance": 0.06427
}

Semantic roles & 50–950 ramp

primary
#404D0D
secondary
#402E88
accent
#3AEE5E
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#090A02
muted
#7B7C78

Preview Lab

Preview with #404D0D

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

Preview Lab → · Contrast checker → · Palette generator →

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