#E1C821

A color in the Yellow, Gold family

#e1c821 is a color in the Yellow, Gold family: RGB(225, 200, 33), HSL(52°, 76%, 51%), CMYK(0%, 11%, 85%, 12%). Closest named color: gold. Contrast is 1.68:1 on white and 12.49:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#e1c821
RGBrgb(225 200 33)
RGB (legacy)rgb(225, 200, 33)
RGB %rgb(88% 78% 13%)
HSLhsl(52 76% 51%)
HSV / HSBhsv(52, 85%, 88%)
HWBhwb(52 13% 12%)
CMYKcmyk(0%, 11%, 85%, 12%)
CIELAB (D50)lab(80.88 -2.18 76.15)
LCHlch(80.88 76.18 91.64)
OKLaboklab(0.829 -0.028 0.1634)
OKLCHoklch(0.829 0.1658 99.72)
Decimal14796833

Properties

Color ToneYellow, Gold
Closest named colorgold ΔE 6.2
Closest web-safe color#cccc33
Hue52°
Saturation (HSL / HSV)76% / 85%
Lightness (HSL)51%
Brightness or Value (HSV)88%
Luminance (Rec.601 / Rec.709)74% / 76%
Relative luminance (WCAG)0.5743
Red / Green / Blue225 / 200 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.68:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
12.49: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 29.6 / -73.2 · As background with white / black text: Lc -33.3 / 74.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: #e1c821;
  --color-brand-oklch: oklch(82.9% 0.1658 99.72);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(225 200 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#e1c821] text-[#e1c821] border-[#e1c821]">