#404D11#404D11

#404D11 is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.6% C 0.084 H 121.1°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#404D11
RGBrgb(64, 77, 17)
HSLhsl(73, 64%, 18%)
HSVhsv(73, 78%, 30%)
CMYKcmyk(16.9%, 0%, 77.9%, 69.8%)
CIE-LABlab(30.49, -14.69, 32.04)
CIE-LCHlch(30.49, 35.25, 114.64°)
OKLaboklab(39.58% -0.0431 0.0716)
OKLCHoklch(39.58% 0.084 121.1)
XYZxyz(4.8695, 6.4382, 1.5164)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404D11 #1E114D
analogous
#4D3C11 #404D11 #224D11
triadic
#404D11 #11404D #4D1140
tetradic
#404D11 #114D3C #1E114D #4D1122
square
#404D11 #114D3C #1E114D #4D1122
split-complementary
#404D11 #11224D #3C114D
monochromatic
#151906 #161B06 #404D11 #6A7F1C #93B127

Accessibility & contrast

On white

9.18
#404D11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #404D11
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404D11#FFFFFF#000000##FFFFFF
##404D111.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524807
Deuteranopia (green-blind)
#514816
Tritanopia (blue-blind)
#444941
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #404d11;
/* rgb */ color: rgb(64, 77, 17);
/* oklch */ color: oklch(39.6% 0.084 121.1);
Tailwind
colors: {
  custom: {
    50: '#777e54',
    500: '#404d11',
    950: '#000000',
  },
}
SCSS
$custom: #404d11;
$custom-light: #777e54;
$custom-dark: #000000;
JSON
{
  "hex": "#404d11",
  "rgb": {
    "r": 64,
    "g": 77,
    "b": 17
  },
  "hsl": {
    "h": 73,
    "s": 63.83,
    "l": 18.431
  },
  "oklch": {
    "l": 0.39577,
    "c": 0.08363,
    "h": 121.1
  },
  "luminance": 0.06438
}

Semantic roles & 50–950 ramp

primary
#404D11
secondary
#453386
accent
#41E765
background
#F7F7F4
surface
#EDEEE8
border
#C8C9C4
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #404D11

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

Preview Lab → · Contrast checker → · Palette generator →

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