#DEC521

A color in the Yellow, Gold family

#dec521 is a color in the Yellow, Gold family: RGB(222, 197, 33), HSL(52°, 74%, 50%), CMYK(0%, 11%, 85%, 13%). Closest named color: gold. Contrast is 1.73:1 on white and 12.11:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#dec521
RGBrgb(222 197 33)
RGB (legacy)rgb(222, 197, 33)
RGB %rgb(87% 77% 13%)
HSLhsl(52 74% 50%)
HSV / HSBhsv(52, 85%, 87%)
HWBhwb(52 13% 13%)
CMYKcmyk(0%, 11%, 85%, 13%)
CIELAB (D50)lab(79.82 -1.99 75.2)
LCHlch(79.82 75.22 91.52)
OKLaboklab(0.82 -0.0272 0.1615)
OKLCHoklch(0.82 0.1637 99.55)
Decimal14599457

Properties

Color ToneYellow, Gold
Closest named colorgold ΔE 7
Closest web-safe color#cccc33
Hue52°
Saturation (HSL / HSV)74% / 85%
Lightness (HSL)50%
Brightness or Value (HSV)87%
Luminance (Rec.601 / Rec.709)73% / 75%
Relative luminance (WCAG)0.5557
Red / Green / Blue222 / 197 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.73:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
12.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 31.2 / -71.5 · As background with white / black text: Lc -35.1 / 72.6

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