#404A11#404A11

#404A11 is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.8% C 0.079 H 118.9°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#404A11
RGBrgb(64, 74, 17)
HSLhsl(71, 63%, 18%)
HSVhsv(71, 77%, 29%)
CMYKcmyk(13.5%, 0%, 77%, 71%)
CIE-LABlab(29.48, -12.99, 31.04)
CIE-LCHlch(29.48, 33.64, 112.71°)
OKLaboklab(38.77% -0.0384 0.0695)
OKLCHoklch(38.77% 0.079 118.9)
XYZxyz(4.6644, 6.0281, 1.4480)
Luminance0.0603 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404A11 #1B114A
analogous
#4A3711 #404A11 #244A11
triadic
#404A11 #11404A #4A1140
tetradic
#404A11 #114A37 #1B114A #4A1124
square
#404A11 #114A37 #1B114A #4A1124
split-complementary
#404A11 #11244A #37114A
monochromatic
#161906 #161906 #404A11 #6B7C1C #96AE28

Accessibility & contrast

On white

9.52
#404A11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#404A11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404A11
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404A11#FFFFFF#000000##FFFFFF
##404A111.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4508
Deuteranopia (green-blind)
#4E4616
Tritanopia (blue-blind)
#44463F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #404a11;
/* rgb */ color: rgb(64, 74, 17);
/* oklch */ color: oklch(38.8% 0.079 118.9);
Tailwind
colors: {
  custom: {
    50: '#777c53',
    500: '#404a11',
    950: '#000000',
  },
}
SCSS
$custom: #404a11;
$custom-light: #777c53;
$custom-dark: #000000;
JSON
{
  "hex": "#404a11",
  "rgb": {
    "r": 64,
    "g": 74,
    "b": 17
  },
  "hsl": {
    "h": 70.526,
    "s": 62.637,
    "l": 17.843
  },
  "oklch": {
    "l": 0.38765,
    "c": 0.07944,
    "h": 118.9
  },
  "luminance": 0.06028
}

Semantic roles & 50–950 ramp

primary
#404A11
secondary
#413383
accent
#42E65F
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#090903
muted
#7B7B78

Preview Lab

Preview with #404A11

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

Preview Lab → · Contrast checker → · Palette generator →

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