#E2E521

A color in the Yellow, Gold family

#e2e521 is a color in the Yellow, Gold family: RGB(226, 229, 33), HSL(61°, 79%, 51%), CMYK(1%, 0%, 86%, 10%). Closest named color: gold. Contrast is 1.36:1 on white and 15.46:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#e2e521
RGBrgb(226 229 33)
RGB (legacy)rgb(226, 229, 33)
RGB %rgb(89% 90% 13%)
HSLhsl(61 79% 51%)
HSV / HSBhsv(61, 86%, 90%)
HWBhwb(61 13% 10%)
CMYKcmyk(1%, 0%, 86%, 10%)
CIELAB (D50)lab(88.54 -15.45 82.08)
LCHlch(88.54 83.53 100.66)
OKLaboklab(0.8905 -0.0669 0.1773)
OKLCHoklch(0.8905 0.1895 110.68)
Decimal14869793

Properties

Color ToneYellow, Gold
Closest named colorgold ΔE 5
Closest web-safe color#cccc33
Hue61°
Saturation (HSL / HSV)79% / 86%
Lightness (HSL)51%
Brightness or Value (HSV)90%
Luminance (Rec.601 / Rec.709)81% / 84%
Relative luminance (WCAG)0.7232
Red / Green / Blue226 / 229 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.36:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
15.46: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 17.4 / -86.3 · As background with white / black text: Lc -19.9 / 86.3

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: #e2e521;
  --color-brand-oklch: oklch(89.05% 0.1895 110.68);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(226 229 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#e2e521] text-[#e2e521] border-[#e2e521]">