#4F4E21

A color in the Yellow, Gold family

#4f4e21 is a color in the Yellow, Gold family: RGB(79, 78, 33), HSL(59°, 41%, 22%), CMYK(0%, 1%, 58%, 69%). Closest named color: darkslategray. Contrast is 8.59:1 on white and 2.44:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#4f4e21
RGBrgb(79 78 33)
RGB (legacy)rgb(79, 78, 33)
RGB %rgb(31% 31% 13%)
HSLhsl(59 41% 22%)
HSV / HSBhsv(59, 58%, 31%)
HWBhwb(59 13% 69%)
CMYKcmyk(0%, 1%, 58%, 69%)
CIELAB (D50)lab(32.47 -4.78 26.32)
LCHlch(32.47 26.75 100.29)
OKLaboklab(0.4141 -0.0198 0.0618)
OKLCHoklch(0.4141 0.0649 107.77)
Decimal5197345

Properties

Color ToneYellow, Gold
Closest named colordarkslategray ΔE 7.5
Closest web-safe color#666633
Hue59°
Saturation (HSL / HSV)41% / 58%
Lightness (HSL)22%
Brightness or Value (HSV)31%
Luminance (Rec.601 / Rec.709)29% / 29%
Relative luminance (WCAG)0.0722
Red / Green / Blue79 / 78 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.59:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.44: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 89.5 / -12.8 · As background with white / black text: Lc -94 / 14.5

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: #4f4e21;
  --color-brand-oklch: oklch(41.41% 0.0649 107.77);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(79 78 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4f4e21] text-[#4f4e21] border-[#4f4e21]">