#404A19#404A19

#404A19 is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.8% C 0.072 H 119.6°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#404A19
RGBrgb(64, 74, 25)
HSLhsl(72, 49%, 19%)
HSVhsv(72, 66%, 29%)
CMYKcmyk(13.5%, 0%, 66.2%, 71%)
CIE-LABlab(29.56, -12.34, 27.23)
CIE-LCHlch(29.56, 29.90, 114.39°)
OKLaboklab(38.85% -0.0357 0.0628)
OKLCHoklch(38.85% 0.072 119.6)
XYZxyz(4.7387, 6.0578, 1.8391)
Luminance0.0606 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404A19 #23194A
analogous
#4A3C19 #404A19 #284A19
triadic
#404A19 #19404A #4A1940
tetradic
#404A19 #194A3C #23194A #4A1928
square
#404A19 #194A3C #23194A #4A1928
split-complementary
#404A19 #19284A #3C194A
monochromatic
#141708 #181C0A #404A19 #687828 #8FA538

Accessibility & contrast

On white

9.50
#404A19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #404A19
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404A19#FFFFFF#000000##FFFFFF
##404A191.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #404a19;
/* rgb */ color: rgb(64, 74, 25);
/* oklch */ color: oklch(38.8% 0.072 119.6);
Tailwind
colors: {
  custom: {
    50: '#767c58',
    500: '#404a19',
    950: '#000000',
  },
}
SCSS
$custom: #404a19;
$custom-light: #767c58;
$custom-dark: #000000;
JSON
{
  "hex": "#404a19",
  "rgb": {
    "r": 64,
    "g": 74,
    "b": 25
  },
  "hsl": {
    "h": 72.245,
    "s": 49.495,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38849,
    "c": 0.07228,
    "h": 119.6
  },
  "luminance": 0.06058
}

Semantic roles & 50–950 ramp

primary
#404A19
secondary
#4C3E80
accent
#4FD96B
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090903
muted
#7B7B78

Preview Lab

Preview with #404A19

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

Preview Lab → · Contrast checker → · Palette generator →

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