#404D0B#404D0B

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

Color values

HEX#404D0B
RGBrgb(64, 77, 11)
HSLhsl(72, 75%, 17%)
HSVhsv(72, 86%, 30%)
CMYKcmyk(16.9%, 0%, 85.7%, 69.8%)
CIE-LABlab(30.45, -15.05, 34.36)
CIE-LCHlch(30.45, 37.51, 113.65°)
OKLaboklab(39.53% -0.0447 0.0754)
OKLCHoklch(39.53% 0.088 120.7)
XYZxyz(4.8287, 6.4219, 1.3017)
Luminance0.0642 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404D0B #180B4D
analogous
#4D390B #404D0B #1F4D0B
triadic
#404D0B #0B404D #4D0B40
tetradic
#404D0B #0B4D39 #180B4D #4D0B1F
square
#404D0B #0B4D39 #180B4D #4D0B1F
split-complementary
#404D0B #0B1F4D #390B4D
monochromatic
#161B04 #161B04 #404D0B #6D8313 #99B81A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##404D0B#FFFFFF#000000##FFFFFF
##404D0B1.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: #404d0b;
/* rgb */ color: rgb(64, 77, 11);
/* oklch */ color: oklch(39.5% 0.088 120.7);
Tailwind
colors: {
  custom: {
    50: '#777e51',
    500: '#404d0b',
    950: '#000000',
  },
}
SCSS
$custom: #404d0b;
$custom-light: #777e51;
$custom-dark: #000000;
JSON
{
  "hex": "#404d0b",
  "rgb": {
    "r": 64,
    "g": 77,
    "b": 11
  },
  "hsl": {
    "h": 71.818,
    "s": 75,
    "l": 17.255
  },
  "oklch": {
    "l": 0.39533,
    "c": 0.08762,
    "h": 120.7
  },
  "luminance": 0.06422
}

Semantic roles & 50–950 ramp

primary
#404D0B
secondary
#3D2B89
accent
#36F25B
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#090A02
muted
#7B7C78

Preview Lab

Preview with #404D0B

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

Preview Lab → · Contrast checker → · Palette generator →

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