#E4E021

A color in the Yellow, Gold family

#e4e021 is a color in the Yellow, Gold family: RGB(228, 224, 33), HSL(59°, 78%, 51%), CMYK(0%, 2%, 86%, 11%). Closest named color: gold. Contrast is 1.4:1 on white and 14.98:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#e4e021
RGBrgb(228 224 33)
RGB (legacy)rgb(228, 224, 33)
RGB %rgb(89% 88% 13%)
HSLhsl(59 78% 51%)
HSV / HSBhsv(59, 86%, 89%)
HWBhwb(59 13% 11%)
CMYKcmyk(0%, 2%, 86%, 11%)
CIELAB (D50)lab(87.38 -12.32 81.28)
LCHlch(87.38 82.21 98.62)
OKLaboklab(0.8816 -0.058 0.1753)
OKLCHoklch(0.8816 0.1846 108.3)
Decimal14999585

Properties

Color ToneYellow, Gold
Closest named colorgold ΔE 4.2
Closest web-safe color#cccc33
Hue59°
Saturation (HSL / HSV)78% / 86%
Lightness (HSL)51%
Brightness or Value (HSV)89%
Luminance (Rec.601 / Rec.709)80% / 83%
Relative luminance (WCAG)0.6992
Red / Green / Blue228 / 224 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.40:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
14.98: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.3 / -84.2 · As background with white / black text: Lc -22 / 84.4

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: #e4e021;
  --color-brand-oklch: oklch(88.16% 0.1846 108.3);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(228 224 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#e4e021] text-[#e4e021] border-[#e4e021]">