#474C21

A color in the Yellow, Gold family

#474c21 is a color in the Yellow, Gold family: RGB(71, 76, 33), HSL(67°, 39%, 21%), CMYK(7%, 0%, 57%, 70%). Closest named color: darkslategray. Contrast is 9.04:1 on white and 2.32:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#474c21
RGBrgb(71 76 33)
RGB (legacy)rgb(71, 76, 33)
RGB %rgb(28% 30% 13%)
HSLhsl(67 39% 21%)
HSV / HSBhsv(67, 57%, 30%)
HWBhwb(67 13% 70%)
CMYKcmyk(7%, 0%, 57%, 70%)
CIELAB (D50)lab(31.06 -7.5 24.48)
LCHlch(31.06 25.6 107.04)
OKLaboklab(0.4012 -0.0268 0.0581)
OKLCHoklch(0.4012 0.064 114.82)
Decimal4672545

Properties

Color ToneYellow, Gold
Closest named colordarkslategray ΔE 6.9
Closest web-safe color#333333
Hue67°
Saturation (HSL / HSV)39% / 57%
Lightness (HSL)21%
Brightness or Value (HSV)30%
Luminance (Rec.601 / Rec.709)27% / 28%
Relative luminance (WCAG)0.0662
Red / Green / Blue71 / 76 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
9.04:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.32: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.7 / -11.6 · As background with white / black text: Lc -95.1 / 13.2

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: #474c21;
  --color-brand-oklch: oklch(40.12% 0.064 114.82);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(71 76 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#474c21] text-[#474c21] border-[#474c21]">