#F5DA21

A color in the Yellow, Gold family

#f5da21 is a color in the Yellow, Gold family: RGB(245, 218, 33), HSL(52°, 91%, 55%), CMYK(0%, 11%, 87%, 4%). Closest named color: gold. Contrast is 1.41:1 on white and 14.93:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#f5da21
RGBrgb(245 218 33)
RGB (legacy)rgb(245, 218, 33)
RGB %rgb(96% 85% 13%)
HSLhsl(52 91% 55%)
HSV / HSBhsv(52, 87%, 96%)
HWBhwb(52 13% 4%)
CMYKcmyk(0%, 11%, 87%, 4%)
CIELAB (D50)lab(87.32 -2.43 82.01)
LCHlch(87.32 82.04 91.7)
OKLaboklab(0.8841 -0.0304 0.1755)
OKLCHoklch(0.8841 0.1781 99.84)
Decimal16112161

Properties

Color ToneYellow, Gold
Closest named colorgold ΔE 1.5
Closest web-safe color#ffcc33
Hue52°
Saturation (HSL / HSV)91% / 87%
Lightness (HSL)55%
Brightness or Value (HSV)96%
Luminance (Rec.601 / Rec.709)80% / 83%
Relative luminance (WCAG)0.6967
Red / Green / Blue245 / 218 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.41:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
14.93: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 19.4 / -84 · As background with white / black text: Lc -22.2 / 84.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: #f5da21;
  --color-brand-oklch: oklch(88.41% 0.1781 99.84);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(245 218 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#f5da21] text-[#f5da21] border-[#f5da21]">