#404E11#404E11

#404E11 is a dark, moderate yellow-green. Relative luminance 0.066; OKLCH L 39.8% C 0.085 H 121.7°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#404E11
RGBrgb(64, 78, 17)
HSLhsl(74, 64%, 19%)
HSVhsv(74, 78%, 31%)
CMYKcmyk(17.9%, 0%, 78.2%, 69.4%)
CIE-LABlab(30.83, -15.25, 32.37)
CIE-LCHlch(30.83, 35.79, 115.23°)
OKLaboklab(39.85% -0.0447 0.0723)
OKLCHoklch(39.85% 0.085 121.7)
XYZxyz(4.9400, 6.5792, 1.5399)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404E11 #1F114E
analogous
#4E3D11 #404E11 #214E11
triadic
#404E11 #11404E #4E1140
tetradic
#404E11 #114E3D #1F114E #4E1121
square
#404E11 #114E3D #1F114E #4E1121
split-complementary
#404E11 #11214E #3D114E
monochromatic
#151905 #171C06 #404E11 #69801C #92B227

Accessibility & contrast

On white

9.07
#404E11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #404E11
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404E11#FFFFFF#000000##FFFFFF
##404E111.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534907
Deuteranopia (green-blind)
#514916
Tritanopia (blue-blind)
#444A42
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #404e11;
/* rgb */ color: rgb(64, 78, 17);
/* oklch */ color: oklch(39.8% 0.085 121.7);
Tailwind
colors: {
  custom: {
    50: '#777f54',
    500: '#404e11',
    950: '#000000',
  },
}
SCSS
$custom: #404e11;
$custom-light: #777f54;
$custom-dark: #000000;
JSON
{
  "hex": "#404e11",
  "rgb": {
    "r": 64,
    "g": 78,
    "b": 17
  },
  "hsl": {
    "h": 73.77,
    "s": 64.211,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39849,
    "c": 0.08503,
    "h": 121.7
  },
  "luminance": 0.06579
}

Semantic roles & 50–950 ramp

primary
#404E11
secondary
#473387
accent
#41E767
background
#F7F7F4
surface
#EDEEE8
border
#C8C9C4
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #404E11

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

Preview Lab → · Contrast checker → · Palette generator →

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