#D8DE21

A color in the Yellow, Gold family

#d8de21 is a color in the Yellow, Gold family: RGB(216, 222, 33), HSL(62°, 74%, 50%), CMYK(3%, 0%, 85%, 13%). Closest named color: gold. Contrast is 1.46:1 on white and 14.39:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#d8de21
RGBrgb(216 222 33)
RGB (legacy)rgb(216, 222, 33)
RGB %rgb(85% 87% 13%)
HSLhsl(62 74% 50%)
HSV / HSBhsv(62, 85%, 87%)
HWBhwb(62 13% 13%)
CMYKcmyk(3%, 0%, 85%, 13%)
CIELAB (D50)lab(85.87 -16.34 79.62)
LCHlch(85.87 81.27 101.6)
OKLaboklab(0.8675 -0.0686 0.1723)
OKLCHoklch(0.8675 0.1855 111.72)
Decimal14212641

Properties

Color ToneYellow, Gold
Closest named colorgold ΔE 5.6
Closest web-safe color#cccc33
Hue62°
Saturation (HSL / HSV)74% / 85%
Lightness (HSL)50%
Brightness or Value (HSV)87%
Luminance (Rec.601 / Rec.709)78% / 81%
Relative luminance (WCAG)0.6695
Red / Green / Blue216 / 222 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.46:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
14.39: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 21.6 / -81.7 · As background with white / black text: Lc -24.6 / 82.1

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: #d8de21;
  --color-brand-oklch: oklch(86.75% 0.1855 111.72);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(216 222 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#d8de21] text-[#d8de21] border-[#d8de21]">