#E2D708

A color in the Yellow, Gold family

#e2d708 is a color in the Yellow, Gold family: RGB(226, 215, 8), HSL(57°, 93%, 46%), CMYK(0%, 5%, 96%, 11%). Closest named color: gold. Contrast is 1.5:1 on white and 13.96:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#e2d708
RGBrgb(226 215 8)
RGB (legacy)rgb(226, 215, 8)
RGB %rgb(89% 84% 3%)
HSLhsl(57 93% 46%)
HSV / HSBhsv(57, 96%, 89%)
HWBhwb(57 3% 11%)
CMYKcmyk(0%, 5%, 96%, 11%)
CIELAB (D50)lab(84.82 -9.2 82.6)
LCHlch(84.82 83.11 96.35)
OKLaboklab(0.8605 -0.0499 0.1754)
OKLCHoklch(0.8605 0.1824 105.88)
Decimal14866184

Properties

Color ToneYellow, Gold
Closest named colorgold ΔE 4.3
Closest web-safe color#cccc00
Hue57°
Saturation (HSL / HSV)93% / 96%
Lightness (HSL)46%
Brightness or Value (HSV)89%
Luminance (Rec.601 / Rec.709)76% / 79%
Relative luminance (WCAG)0.6479
Red / Green / Blue226 / 215 / 8

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.50:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
13.96: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 23.4 / -79.8 · As background with white / black text: Lc -26.5 / 80.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: #e2d708;
  --color-brand-oklch: oklch(86.05% 0.1824 105.88);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(226 215 8 / 50%); }
/* Tailwind CSS */
<div class="bg-[#e2d708] text-[#e2d708] border-[#e2d708]">