#4D4B21

A color in the Yellow, Gold family

#4d4b21 is a color in the Yellow, Gold family: RGB(77, 75, 33), HSL(57°, 40%, 22%), CMYK(0%, 3%, 57%, 70%). Closest named color: darkslategray. Contrast is 8.96:1 on white and 2.34:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#4d4b21
RGBrgb(77 75 33)
RGB (legacy)rgb(77, 75, 33)
RGB %rgb(30% 29% 13%)
HSLhsl(57 40% 22%)
HSV / HSBhsv(57, 57%, 30%)
HWBhwb(57 13% 70%)
CMYKcmyk(0%, 3%, 57%, 70%)
CIELAB (D50)lab(31.32 -4.04 24.96)
LCHlch(31.32 25.28 99.2)
OKLaboklab(0.4045 -0.0173 0.0589)
OKLCHoklch(0.4045 0.0613 106.37)
Decimal5065505

Properties

Color ToneYellow, Gold
Closest named colordarkslategray ΔE 7.2
Closest web-safe color#663333
Hue57°
Saturation (HSL / HSV)40% / 57%
Lightness (HSL)22%
Brightness or Value (HSV)30%
Luminance (Rec.601 / Rec.709)28% / 28%
Relative luminance (WCAG)0.0672
Red / Green / Blue77 / 75 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.96:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.34: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 90.5 / -11.8 · As background with white / black text: Lc -94.9 / 13.4

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: #4d4b21;
  --color-brand-oklch: oklch(40.45% 0.0613 106.37);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(77 75 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4d4b21] text-[#4d4b21] border-[#4d4b21]">