#D8C708

A color in the Yellow, Gold family

#d8c708 is a color in the Yellow, Gold family: RGB(216, 199, 8), HSL(55°, 93%, 44%), CMYK(0%, 8%, 96%, 15%). Closest named color: gold. Contrast is 1.74:1 on white and 12.09:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#d8c708
RGBrgb(216 199 8)
RGB (legacy)rgb(216, 199, 8)
RGB %rgb(85% 78% 3%)
HSLhsl(55 93% 44%)
HSV / HSBhsv(55, 96%, 85%)
HWBhwb(55 3% 15%)
CMYKcmyk(0%, 8%, 96%, 15%)
CIELAB (D50)lab(79.75 -5.8 78.59)
LCHlch(79.75 78.8 94.22)
OKLaboklab(0.8181 -0.0392 0.1666)
OKLCHoklch(0.8181 0.1711 103.24)
Decimal14206728

Properties

Color ToneYellow, Gold
Closest named colorgold ΔE 7.4
Closest web-safe color#cccc00
Hue55°
Saturation (HSL / HSV)93% / 96%
Lightness (HSL)44%
Brightness or Value (HSV)85%
Luminance (Rec.601 / Rec.709)71% / 74%
Relative luminance (WCAG)0.5546
Red / Green / Blue216 / 199 / 8

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.74:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
12.09: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 31.3 / -71.4 · As background with white / black text: Lc -35.2 / 72.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: #d8c708;
  --color-brand-oklch: oklch(81.81% 0.1711 103.24);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(216 199 8 / 50%); }
/* Tailwind CSS */
<div class="bg-[#d8c708] text-[#d8c708] border-[#d8c708]">