#404D21

A color in the Green family

#404d21 is a color in the Green family: RGB(64, 77, 33), HSL(78°, 40%, 22%), CMYK(17%, 0%, 57%, 70%). Closest named color: darkslategray. Contrast is 9.12:1 on white and 2.3:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#404d21
RGBrgb(64 77 33)
RGB (legacy)rgb(64, 77, 33)
RGB %rgb(25% 30% 13%)
HSLhsl(78 40% 22%)
HSV / HSBhsv(78, 57%, 30%)
HWBhwb(78 13% 70%)
CMYKcmyk(17%, 0%, 57%, 70%)
CIELAB (D50)lab(30.77 -11.34 23.95)
LCHlch(30.77 26.5 115.33)
OKLaboklab(0.3976 -0.0373 0.0572)
OKLCHoklch(0.3976 0.0683 123.14)
Decimal4214049

Properties

Color ToneGreen
Closest named colordarkslategray ΔE 6.8
Closest web-safe color#336633
Hue78°
Saturation (HSL / HSV)40% / 57%
Lightness (HSL)22%
Brightness or Value (HSV)30%
Luminance (Rec.601 / Rec.709)27% / 28%
Relative luminance (WCAG)0.0651
Red / Green / Blue64 / 77 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
9.12:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.30:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 91 / -11.4 · As background with white / black text: Lc -95.3 / 13

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #404d21;
  --color-brand-oklch: oklch(39.76% 0.0683 123.14);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(64 77 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#404d21] text-[#404d21] border-[#404d21]">