#404F16#404F16

#404F16 is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 40.2% C 0.082 H 122.8°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#404F16
RGBrgb(64, 79, 22)
HSLhsl(76, 56%, 20%)
HSVhsv(76, 72%, 31%)
CMYKcmyk(19%, 0%, 72.2%, 69%)
CIE-LABlab(31.21, -15.45, 30.50)
CIE-LCHlch(31.21, 34.19, 116.85°)
OKLaboklab(40.17% -0.0447 0.0693)
OKLCHoklch(40.17% 0.082 122.8)
XYZxyz(5.0552, 6.7399, 1.7935)
Luminance0.0674 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404F16 #25164F
analogous
#4F4116 #404F16 #244F16
triadic
#404F16 #16404F #4F1640
tetradic
#404F16 #164F41 #25164F #4F1624
square
#404F16 #164F41 #25164F #4F1624
split-complementary
#404F16 #16244F #41164F
monochromatic
#131807 #191F09 #404F16 #677F23 #8EAF31

Accessibility & contrast

On white

8.94
#404F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#404F16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404F16
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404F16#FFFFFF#000000##FFFFFF
##404F161.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A0E
Deuteranopia (green-blind)
#52491A
Tritanopia (blue-blind)
#434B43
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #404f16;
/* rgb */ color: rgb(64, 79, 22);
/* oklch */ color: oklch(40.2% 0.082 122.8);
Tailwind
colors: {
  custom: {
    50: '#778057',
    500: '#404f16',
    950: '#000000',
  },
}
SCSS
$custom: #404f16;
$custom-light: #778057;
$custom-dark: #000000;
JSON
{
  "hex": "#404f16",
  "rgb": {
    "r": 64,
    "g": 79,
    "b": 22
  },
  "hsl": {
    "h": 75.789,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40167,
    "c": 0.08245,
    "h": 122.8
  },
  "luminance": 0.0674
}

Semantic roles & 50–950 ramp

primary
#404F16
secondary
#4E3A86
accent
#48E070
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #404F16

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

Preview Lab → · Contrast checker → · Palette generator →

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