#E4CB21

A color in the Yellow, Gold family

#e4cb21 is a color in the Yellow, Gold family: RGB(228, 203, 33), HSL(52°, 78%, 51%), CMYK(0%, 11%, 86%, 11%). Closest named color: gold. Contrast is 1.63:1 on white and 12.86:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#e4cb21
RGBrgb(228 203 33)
RGB (legacy)rgb(228, 203, 33)
RGB %rgb(89% 80% 13%)
HSLhsl(52 78% 51%)
HSV / HSBhsv(52, 86%, 89%)
HWBhwb(52 13% 11%)
CMYKcmyk(0%, 11%, 86%, 11%)
CIELAB (D50)lab(81.93 -2.36 77.1)
LCHlch(81.93 77.14 91.75)
OKLaboklab(0.8379 -0.0288 0.1654)
OKLCHoklch(0.8379 0.1679 99.87)
Decimal14994209

Properties

Color ToneYellow, Gold
Closest named colorgold ΔE 5.3
Closest web-safe color#cccc33
Hue52°
Saturation (HSL / HSV)78% / 86%
Lightness (HSL)51%
Brightness or Value (HSV)89%
Luminance (Rec.601 / Rec.709)75% / 77%
Relative luminance (WCAG)0.5932
Red / Green / Blue228 / 203 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.63:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
12.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 28 / -74.9 · As background with white / black text: Lc -31.6 / 75.8

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