#404F11#404F11

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

Color values

HEX#404F11
RGBrgb(64, 79, 17)
HSLhsl(75, 65%, 19%)
HSVhsv(75, 78%, 31%)
CMYKcmyk(19%, 0%, 78.5%, 69%)
CIE-LABlab(31.17, -15.81, 32.71)
CIE-LCHlch(31.17, 36.33, 115.80°)
OKLaboklab(40.12% -0.0462 0.073)
OKLCHoklch(40.12% 0.086 122.3)
XYZxyz(5.0116, 6.7224, 1.5637)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404F11 #20114F
analogous
#4F3F11 #404F11 #214F11
triadic
#404F11 #11404F #4F1140
tetradic
#404F11 #114F3F #20114F #4F1121
square
#404F11 #114F3F #20114F #4F1121
split-complementary
#404F11 #11214F #3F114F
monochromatic
#141905 #171D06 #404F11 #69811C #92B427

Accessibility & contrast

On white

8.96
#404F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #404F11
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404F11#FFFFFF#000000##FFFFFF
##404F111.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A06
Deuteranopia (green-blind)
#524916
Tritanopia (blue-blind)
#444B43
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #404f11;
/* rgb */ color: rgb(64, 79, 17);
/* oklch */ color: oklch(40.1% 0.086 122.3);
Tailwind
colors: {
  custom: {
    50: '#778054',
    500: '#404f11',
    950: '#000000',
  },
}
SCSS
$custom: #404f11;
$custom-light: #778054;
$custom-dark: #000000;
JSON
{
  "hex": "#404f11",
  "rgb": {
    "r": 64,
    "g": 79,
    "b": 17
  },
  "hsl": {
    "h": 74.516,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.40121,
    "c": 0.08644,
    "h": 122.3
  },
  "luminance": 0.06722
}

Semantic roles & 50–950 ramp

primary
#404F11
secondary
#483388
accent
#40E869
background
#F7F7F5
surface
#EDEEE8
border
#C8C9C4
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #404F11

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

Preview Lab → · Contrast checker → · Palette generator →

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