#E2C813

A color in the Yellow, Gold family

#e2c813 is a color in the Yellow, Gold family: RGB(226, 200, 19), HSL(52°, 84%, 48%), CMYK(0%, 12%, 92%, 11%). Closest named color: gold. Contrast is 1.68:1 on white and 12.5:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#e2c813
RGBrgb(226 200 19)
RGB (legacy)rgb(226, 200, 19)
RGB %rgb(89% 78% 7%)
HSLhsl(52 84% 48%)
HSV / HSBhsv(52, 92%, 89%)
HWBhwb(52 7% 11%)
CMYKcmyk(0%, 12%, 92%, 11%)
CIELAB (D50)lab(80.94 -1.94 78.72)
LCHlch(80.94 78.74 91.41)
OKLaboklab(0.8295 -0.0283 0.1671)
OKLCHoklch(0.8295 0.1695 99.6)
Decimal14862355

Properties

Color ToneYellow, Gold
Closest named colorgold ΔE 6
Closest web-safe color#cccc00
Hue52°
Saturation (HSL / HSV)84% / 92%
Lightness (HSL)48%
Brightness or Value (HSV)89%
Luminance (Rec.601 / Rec.709)73% / 75%
Relative luminance (WCAG)0.5752
Red / Green / Blue226 / 200 / 19

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.68:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
12.50: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 29.5 / -73.3 · As background with white / black text: Lc -33.2 / 74.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: #e2c813;
  --color-brand-oklch: oklch(82.95% 0.1695 99.6);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(226 200 19 / 50%); }
/* Tailwind CSS */
<div class="bg-[#e2c813] text-[#e2c813] border-[#e2c813]">