#4A4F21

A color in the Yellow, Gold family

#4a4f21 is a color in the Yellow, Gold family: RGB(74, 79, 33), HSL(67°, 41%, 22%), CMYK(6%, 0%, 58%, 69%). Closest named color: darkslategray. Contrast is 8.64:1 on white and 2.43:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#4a4f21
RGBrgb(74 79 33)
RGB (legacy)rgb(74, 79, 33)
RGB %rgb(29% 31% 13%)
HSLhsl(67 41% 22%)
HSV / HSBhsv(67, 58%, 31%)
HWBhwb(67 13% 69%)
CMYKcmyk(6%, 0%, 58%, 69%)
CIELAB (D50)lab(32.3 -7.74 25.98)
LCHlch(32.3 27.11 106.59)
OKLaboklab(0.4118 -0.028 0.0613)
OKLCHoklch(0.4118 0.0674 114.54)
Decimal4869921

Properties

Color ToneYellow, Gold
Closest named colordarkslategray ΔE 7.3
Closest web-safe color#336633
Hue67°
Saturation (HSL / HSV)41% / 58%
Lightness (HSL)22%
Brightness or Value (HSV)31%
Luminance (Rec.601 / Rec.709)28% / 29%
Relative luminance (WCAG)0.0716
Red / Green / Blue74 / 79 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.64:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.43: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.6 / -12.6 · As background with white / black text: Lc -94.1 / 14.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: #4a4f21;
  --color-brand-oklch: oklch(41.18% 0.0674 114.54);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(74 79 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4a4f21] text-[#4a4f21] border-[#4a4f21]">