#E1C708

A color in the Yellow, Gold family

#e1c708 is a color in the Yellow, Gold family: RGB(225, 199, 8), HSL(53°, 93%, 46%), CMYK(0%, 12%, 96%, 12%). Closest named color: gold. Contrast is 1.7:1 on white and 12.37:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#e1c708
RGBrgb(225 199 8)
RGB (legacy)rgb(225, 199, 8)
RGB %rgb(88% 78% 3%)
HSLhsl(53 93% 46%)
HSV / HSBhsv(53, 96%, 88%)
HWBhwb(53 3% 12%)
CMYKcmyk(0%, 12%, 96%, 12%)
CIELAB (D50)lab(80.58 -1.97 79.62)
LCHlch(80.58 79.65 91.41)
OKLaboklab(0.8263 -0.0287 0.1682)
OKLCHoklch(0.8263 0.1706 99.68)
Decimal14796552

Properties

Color ToneYellow, Gold
Closest named colorgold ΔE 6.3
Closest web-safe color#cccc00
Hue53°
Saturation (HSL / HSV)93% / 96%
Lightness (HSL)46%
Brightness or Value (HSV)88%
Luminance (Rec.601 / Rec.709)73% / 75%
Relative luminance (WCAG)0.5687
Red / Green / Blue225 / 199 / 8

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.70:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
12.37: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 30.1 / -72.7 · As background with white / black text: Lc -33.8 / 73.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: #e1c708;
  --color-brand-oklch: oklch(82.63% 0.1706 99.68);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(225 199 8 / 50%); }
/* Tailwind CSS */
<div class="bg-[#e1c708] text-[#e1c708] border-[#e1c708]">