#D3CD21

A color in the Yellow, Gold family

#d3cd21 is a color in the Yellow, Gold family: RGB(211, 205, 33), HSL(58°, 73%, 48%), CMYK(0%, 3%, 84%, 17%). Closest named color: gold. Contrast is 1.68:1 on white and 12.52:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#d3cd21
RGBrgb(211 205 33)
RGB (legacy)rgb(211, 205, 33)
RGB %rgb(83% 80% 13%)
HSLhsl(58 73% 48%)
HSV / HSBhsv(58, 84%, 83%)
HWBhwb(58 13% 17%)
CMYKcmyk(0%, 3%, 84%, 17%)
CIELAB (D50)lab(80.93 -10.49 75.55)
LCHlch(80.93 76.28 97.9)
OKLaboklab(0.8269 -0.0511 0.1633)
OKLCHoklch(0.8269 0.1711 107.39)
Decimal13880609

Properties

Color ToneYellow, Gold
Closest named colorgold ΔE 7.1
Closest web-safe color#cccc33
Hue58°
Saturation (HSL / HSV)73% / 84%
Lightness (HSL)48%
Brightness or Value (HSV)83%
Luminance (Rec.601 / Rec.709)73% / 76%
Relative luminance (WCAG)0.5762
Red / Green / Blue211 / 205 / 33

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.52: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.4 · As background with white / black text: Lc -33.2 / 74.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: #d3cd21;
  --color-brand-oklch: oklch(82.69% 0.1711 107.39);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(211 205 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#d3cd21] text-[#d3cd21] border-[#d3cd21]">