#F4D921

A color in the Yellow, Gold family

#f4d921 is a color in the Yellow, Gold family: RGB(244, 217, 33), HSL(52°, 91%, 54%), CMYK(0%, 11%, 86%, 4%). Closest named color: gold. Contrast is 1.42:1 on white and 14.79:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#f4d921
RGBrgb(244 217 33)
RGB (legacy)rgb(244, 217, 33)
RGB %rgb(96% 85% 13%)
HSLhsl(52 91% 54%)
HSV / HSBhsv(52, 86%, 96%)
HWBhwb(52 13% 4%)
CMYKcmyk(0%, 11%, 86%, 4%)
CIELAB (D50)lab(86.98 -2.37 81.7)
LCHlch(86.98 81.74 91.66)
OKLaboklab(0.8811 -0.0302 0.1748)
OKLCHoklch(0.8811 0.1774 99.79)
Decimal16046369

Properties

Color ToneYellow, Gold
Closest named colorgold ΔE 1.6
Closest web-safe color#ffcc33
Hue52°
Saturation (HSL / HSV)91% / 86%
Lightness (HSL)54%
Brightness or Value (HSV)96%
Luminance (Rec.601 / Rec.709)80% / 82%
Relative luminance (WCAG)0.6897
Red / Green / Blue244 / 217 / 33

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 20 / -83.4 · As background with white / black text: Lc -22.8 / 83.7

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: #f4d921;
  --color-brand-oklch: oklch(88.11% 0.1774 99.79);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(244 217 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#f4d921] text-[#f4d921] border-[#f4d921]">