#E5DB21

A color in the Yellow, Gold family

#e5db21 is a color in the Yellow, Gold family: RGB(229, 219, 33), HSL(57°, 79%, 51%), CMYK(0%, 4%, 86%, 10%). Closest named color: gold. Contrast is 1.45:1 on white and 14.49:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#e5db21
RGBrgb(229 219 33)
RGB (legacy)rgb(229, 219, 33)
RGB %rgb(90% 86% 13%)
HSLhsl(57 79% 51%)
HSV / HSBhsv(57, 86%, 90%)
HWBhwb(57 13% 10%)
CMYKcmyk(0%, 4%, 86%, 10%)
CIELAB (D50)lab(86.16 -9.57 80.39)
LCHlch(86.16 80.96 96.79)
OKLaboklab(0.8719 -0.05 0.1731)
OKLCHoklch(0.8719 0.1802 106.12)
Decimal15063841

Properties

Color ToneYellow, Gold
Closest named colorgold ΔE 3.7
Closest web-safe color#cccc33
Hue57°
Saturation (HSL / HSV)79% / 86%
Lightness (HSL)51%
Brightness or Value (HSV)90%
Luminance (Rec.601 / Rec.709)79% / 81%
Relative luminance (WCAG)0.6743
Red / Green / Blue229 / 219 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.45:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
14.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 21.3 / -82.1 · As background with white / black text: Lc -24.2 / 82.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: #e5db21;
  --color-brand-oklch: oklch(87.19% 0.1802 106.12);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(229 219 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#e5db21] text-[#e5db21] border-[#e5db21]">