#E1E821

A color in the Yellow, Gold family

#e1e821 is a color in the Yellow, Gold family: RGB(225, 232, 33), HSL(62°, 81%, 52%), CMYK(3%, 0%, 86%, 9%). Closest named color: gold. Contrast is 1.33:1 on white and 15.77:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#e1e821
RGBrgb(225 232 33)
RGB (legacy)rgb(225, 232, 33)
RGB %rgb(88% 91% 13%)
HSLhsl(62 81% 52%)
HSV / HSBhsv(62, 86%, 91%)
HWBhwb(62 13% 9%)
CMYKcmyk(3%, 0%, 86%, 9%)
CIELAB (D50)lab(89.25 -17.22 82.59)
LCHlch(89.25 84.37 101.78)
OKLaboklab(0.8961 -0.072 0.1786)
OKLCHoklch(0.8961 0.1925 111.96)
Decimal14805025

Properties

Color ToneYellow, Gold
Closest named colorgold ΔE 5.6
Closest web-safe color#ccff33
Hue62°
Saturation (HSL / HSV)81% / 86%
Lightness (HSL)52%
Brightness or Value (HSV)91%
Luminance (Rec.601 / Rec.709)81% / 85%
Relative luminance (WCAG)0.7383
Red / Green / Blue225 / 232 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.33:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
15.77: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 16.2 / -87.5 · As background with white / black text: Lc -18.6 / 87.5

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: #e1e821;
  --color-brand-oklch: oklch(89.61% 0.1925 111.96);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(225 232 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#e1e821] text-[#e1e821] border-[#e1e821]">