#D2CD21

A color in the Yellow, Gold family

#d2cd21 is a color in the Yellow, Gold family: RGB(210, 205, 33), HSL(58°, 73%, 48%), CMYK(0%, 2%, 84%, 18%). Closest named color: yellowgreen. Contrast is 1.68:1 on white and 12.49:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#d2cd21
RGBrgb(210 205 33)
RGB (legacy)rgb(210, 205, 33)
RGB %rgb(82% 80% 13%)
HSLhsl(58 73% 48%)
HSV / HSBhsv(58, 84%, 82%)
HWBhwb(58 13% 18%)
CMYKcmyk(0%, 2%, 84%, 18%)
CIELAB (D50)lab(80.85 -10.91 75.44)
LCHlch(80.85 76.23 98.23)
OKLaboklab(0.8261 -0.0523 0.1631)
OKLCHoklch(0.8261 0.1713 107.77)
Decimal13815073

Properties

Color ToneYellow, Gold
Closest named coloryellowgreen ΔE 7.2
Closest web-safe color#cccc33
Hue58°
Saturation (HSL / HSV)73% / 84%
Lightness (HSL)48%
Brightness or Value (HSV)82%
Luminance (Rec.601 / Rec.709)73% / 76%
Relative luminance (WCAG)0.5747
Red / Green / Blue210 / 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.49: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.6 / -73.2 · As background with white / black text: Lc -33.3 / 74.2

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: #d2cd21;
  --color-brand-oklch: oklch(82.61% 0.1713 107.77);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(210 205 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#d2cd21] text-[#d2cd21] border-[#d2cd21]">