#F7DB21

A color in the Yellow, Gold family

#f7db21 is a color in the Yellow, Gold family: RGB(247, 219, 33), HSL(52°, 93%, 55%), CMYK(0%, 11%, 87%, 3%). Closest named color: gold. Contrast is 1.39:1 on white and 15.11:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#f7db21
RGBrgb(247 219 33)
RGB (legacy)rgb(247, 219, 33)
RGB %rgb(97% 86% 13%)
HSLhsl(52 93% 55%)
HSV / HSBhsv(52, 87%, 97%)
HWBhwb(52 13% 3%)
CMYKcmyk(0%, 11%, 87%, 3%)
CIELAB (D50)lab(87.76 -2.07 82.43)
LCHlch(87.76 82.46 91.44)
OKLaboklab(0.8879 -0.0296 0.1763)
OKLCHoklch(0.8879 0.1787 99.52)
Decimal16243489

Properties

Color ToneYellow, Gold
Closest named colorgold ΔE 1.4
Closest web-safe color#ffcc33
Hue52°
Saturation (HSL / HSV)93% / 87%
Lightness (HSL)55%
Brightness or Value (HSV)97%
Luminance (Rec.601 / Rec.709)81% / 83%
Relative luminance (WCAG)0.7055
Red / Green / Blue247 / 219 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.39:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
15.11: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 18.7 / -84.8 · As background with white / black text: Lc -21.4 / 84.9

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: #f7db21;
  --color-brand-oklch: oklch(88.79% 0.1787 99.52);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(247 219 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#f7db21] text-[#f7db21] border-[#f7db21]">