#F8DE21

A color in the Yellow, Gold family

#f8de21 is a color in the Yellow, Gold family: RGB(248, 222, 33), HSL(53°, 94%, 55%), CMYK(0%, 10%, 87%, 3%). Closest named color: gold. Contrast is 1.36:1 on white and 15.46:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#f8de21
RGBrgb(248 222 33)
RGB (legacy)rgb(248, 222, 33)
RGB %rgb(97% 87% 13%)
HSLhsl(53 94% 55%)
HSV / HSBhsv(53, 87%, 97%)
HWBhwb(53 13% 3%)
CMYKcmyk(0%, 10%, 87%, 3%)
CIELAB (D50)lab(88.61 -3.08 83.12)
LCHlch(88.61 83.18 92.12)
OKLaboklab(0.8949 -0.0326 0.1778)
OKLCHoklch(0.8949 0.1808 100.39)
Decimal16309793

Properties

Color ToneYellow, Gold
Closest named colorgold ΔE 1.8
Closest web-safe color#ffcc33
Hue53°
Saturation (HSL / HSV)94% / 87%
Lightness (HSL)55%
Brightness or Value (HSV)97%
Luminance (Rec.601 / Rec.709)82% / 84%
Relative luminance (WCAG)0.7231
Red / Green / Blue248 / 222 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.36:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
15.46: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 17.3 / -86.3 · As background with white / black text: Lc -19.9 / 86.3

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: #f8de21;
  --color-brand-oklch: oklch(89.49% 0.1808 100.39);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(248 222 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#f8de21] text-[#f8de21] border-[#f8de21]">