#404E16#404E16

#404E16 is a dark, moderate yellow-green. Relative luminance 0.066; OKLCH L 39.9% C 0.081 H 122.2°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#404E16
RGBrgb(64, 78, 22)
HSLhsl(75, 56%, 20%)
HSVhsv(75, 72%, 31%)
CMYKcmyk(17.9%, 0%, 71.8%, 69.4%)
CIE-LABlab(30.87, -14.89, 30.15)
CIE-LCHlch(30.87, 33.63, 116.28°)
OKLaboklab(39.9% -0.0431 0.0686)
OKLCHoklch(39.9% 0.081 122.2)
XYZxyz(4.9836, 6.5967, 1.7696)
Luminance0.0660 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404E16 #24164E
analogous
#4E4016 #404E16 #244E16
triadic
#404E16 #16404E #4E1640
tetradic
#404E16 #164E40 #24164E #4E1624
square
#404E16 #164E40 #24164E #4E1624
split-complementary
#404E16 #16244E #40164E
monochromatic
#141807 #191E09 #404E16 #677E23 #8EAD31

Accessibility & contrast

On white

9.05
#404E16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#404E16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404E16
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404E16#FFFFFF#000000##FFFFFF
##404E161.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53490E
Deuteranopia (green-blind)
#51491A
Tritanopia (blue-blind)
#444A43
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #404e16;
/* rgb */ color: rgb(64, 78, 22);
/* oklch */ color: oklch(39.9% 0.081 122.2);
Tailwind
colors: {
  custom: {
    50: '#777f56',
    500: '#404e16',
    950: '#000000',
  },
}
SCSS
$custom: #404e16;
$custom-light: #777f56;
$custom-dark: #000000;
JSON
{
  "hex": "#404e16",
  "rgb": {
    "r": 64,
    "g": 78,
    "b": 22
  },
  "hsl": {
    "h": 75,
    "s": 56,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39896,
    "c": 0.08099,
    "h": 122.2
  },
  "luminance": 0.06597
}

Semantic roles & 50–950 ramp

primary
#404E16
secondary
#4D3A85
accent
#49DF6E
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #404E16

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

Preview Lab → · Contrast checker → · Palette generator →

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