#404A1A#404A1A

#404A1A is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.9% C 0.071 H 119.7°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#404A1A
RGBrgb(64, 74, 26)
HSLhsl(73, 48%, 20%)
HSVhsv(73, 65%, 29%)
CMYKcmyk(13.5%, 0%, 64.9%, 71%)
CIE-LABlab(29.57, -12.25, 26.72)
CIE-LCHlch(29.57, 29.39, 114.63°)
OKLaboklab(38.86% -0.0353 0.0619)
OKLCHoklch(38.86% 0.071 119.7)
XYZxyz(4.7496, 6.0621, 1.8970)
Luminance0.0606 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404A1A #241A4A
analogous
#4A3C1A #404A1A #284A1A
triadic
#404A1A #1A404A #4A1A40
tetradic
#404A1A #1A4A3C #241A4A #4A1A28
square
#404A1A #1A4A3C #241A4A #4A1A28
split-complementary
#404A1A #1A284A #3C1A4A
monochromatic
#141708 #191D0A #404A1A #67772A #8EA53A

Accessibility & contrast

On white

9.49
#404A1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #404A1A
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404A1A#FFFFFF#000000##FFFFFF
##404A1A1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4615
Deuteranopia (green-blind)
#4E461D
Tritanopia (blue-blind)
#444640
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #404a1a;
/* rgb */ color: rgb(64, 74, 26);
/* oklch */ color: oklch(38.9% 0.071 119.7);
Tailwind
colors: {
  custom: {
    50: '#767c59',
    500: '#404a1a',
    950: '#000000',
  },
}
SCSS
$custom: #404a1a;
$custom-light: #767c59;
$custom-dark: #000000;
JSON
{
  "hex": "#404a1a",
  "rgb": {
    "r": 64,
    "g": 74,
    "b": 26
  },
  "hsl": {
    "h": 72.5,
    "s": 48,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38861,
    "c": 0.07127,
    "h": 119.7
  },
  "luminance": 0.06062
}

Semantic roles & 50–950 ramp

primary
#404A1A
secondary
#4D4080
accent
#50D86C
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090903
muted
#7B7B78

Preview Lab

Preview with #404A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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