#404F0D#404F0D

#404F0D is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 40.1% C 0.089 H 122.0°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#404F0D
RGBrgb(64, 79, 13)
HSLhsl(74, 72%, 18%)
HSVhsv(74, 84%, 31%)
CMYKcmyk(19%, 0%, 83.5%, 69%)
CIE-LABlab(31.14, -16.05, 34.27)
CIE-LCHlch(31.14, 37.84, 115.10°)
OKLaboklab(40.09% -0.0473 0.0756)
OKLCHoklch(40.09% 0.089 122)
XYZxyz(4.9831, 6.7110, 1.4135)
Luminance0.0671 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404F0D #1C0D4F
analogous
#4F3D0D #404F0D #1F4F0D
triadic
#404F0D #0D404F #4F0D40
tetradic
#404F0D #0D4F3D #1C0D4F #4F0D1F
square
#404F0D #0D4F3D #1C0D4F #4F0D1F
split-complementary
#404F0D #0D1F4F #3D0D4F
monochromatic
#151A04 #151A04 #404F0D #6B8416 #95B81E

Accessibility & contrast

On white

8.97
#404F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#404F0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404F0D
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404F0D#FFFFFF#000000##FFFFFF
##404F0D1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A01
Deuteranopia (green-blind)
#524913
Tritanopia (blue-blind)
#444A43
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #404f0d;
/* rgb */ color: rgb(64, 79, 13);
/* oklch */ color: oklch(40.1% 0.089 122.0);
Tailwind
colors: {
  custom: {
    50: '#778052',
    500: '#404f0d',
    950: '#000000',
  },
}
SCSS
$custom: #404f0d;
$custom-light: #778052;
$custom-dark: #000000;
JSON
{
  "hex": "#404f0d",
  "rgb": {
    "r": 64,
    "g": 79,
    "b": 13
  },
  "hsl": {
    "h": 73.636,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.40091,
    "c": 0.08914,
    "h": 122
  },
  "luminance": 0.06711
}

Semantic roles & 50–950 ramp

primary
#404F0D
secondary
#432E8A
accent
#39EE62
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#090A02
muted
#7B7C78

Preview Lab

Preview with #404F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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