#404D16#404D16

#404D16 is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.6% C 0.080 H 121.5°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#404D16
RGBrgb(64, 77, 22)
HSLhsl(74, 56%, 19%)
HSVhsv(74, 71%, 30%)
CMYKcmyk(16.9%, 0%, 71.4%, 69.8%)
CIE-LABlab(30.53, -14.32, 29.80)
CIE-LCHlch(30.53, 33.06, 115.67°)
OKLaboklab(39.63% -0.0416 0.0678)
OKLCHoklch(39.63% 0.08 121.5)
XYZxyz(4.9131, 6.4557, 1.7461)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404D16 #23164D
analogous
#4D3F16 #404D16 #254D16
triadic
#404D16 #16404D #4D1640
tetradic
#404D16 #164D3F #23164D #4D1625
square
#404D16 #164D3F #23164D #4D1625
split-complementary
#404D16 #16254D #3F164D
monochromatic
#141807 #181D08 #404D16 #687D24 #8FAC31

Accessibility & contrast

On white

9.17
#404D16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #404D16
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404D16#FFFFFF#000000##FFFFFF
##404D161.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52480F
Deuteranopia (green-blind)
#50481A
Tritanopia (blue-blind)
#444942
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #404d16;
/* rgb */ color: rgb(64, 77, 22);
/* oklch */ color: oklch(39.6% 0.080 121.5);
Tailwind
colors: {
  custom: {
    50: '#777e56',
    500: '#404d16',
    950: '#000000',
  },
}
SCSS
$custom: #404d16;
$custom-light: #777e56;
$custom-dark: #000000;
JSON
{
  "hex": "#404d16",
  "rgb": {
    "r": 64,
    "g": 77,
    "b": 22
  },
  "hsl": {
    "h": 74.182,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39625,
    "c": 0.07953,
    "h": 121.5
  },
  "luminance": 0.06456
}

Semantic roles & 50–950 ramp

primary
#404D16
secondary
#4C3A85
accent
#49DF6C
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #404D16

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

Preview Lab → · Contrast checker → · Palette generator →

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