#E4C021

A color in the Yellow, Gold family

#e4c021 is a color in the Yellow, Gold family: RGB(228, 192, 33), HSL(49°, 78%, 51%), CMYK(0%, 16%, 86%, 11%). Closest named color: goldenrod. Contrast is 1.77:1 on white and 11.86:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#e4c021
RGBrgb(228 192 33)
RGB (legacy)rgb(228, 192, 33)
RGB %rgb(89% 75% 13%)
HSLhsl(49 78% 51%)
HSV / HSBhsv(49, 86%, 89%)
HWBhwb(49 13% 11%)
CMYKcmyk(0%, 16%, 86%, 11%)
CIELAB (D50)lab(79.12 3 74.95)
LCHlch(79.12 75.01 87.7)
OKLaboklab(0.8155 -0.0129 0.1603)
OKLCHoklch(0.8155 0.1608 94.61)
Decimal14991393

Properties

Color ToneYellow, Gold
Closest named colorgoldenrod ΔE 7.1
Closest web-safe color#cccc33
Hue49°
Saturation (HSL / HSV)78% / 86%
Lightness (HSL)51%
Brightness or Value (HSV)89%
Luminance (Rec.601 / Rec.709)72% / 74%
Relative luminance (WCAG)0.543
Red / Green / Blue228 / 192 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.77:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
11.86: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 32.3 / -70.3 · As background with white / black text: Lc -36.3 / 71.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: #e4c021;
  --color-brand-oklch: oklch(81.55% 0.1608 94.61);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(228 192 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#e4c021] text-[#e4c021] border-[#e4c021]">