#D1CA21

A color in the Yellow, Gold family

#d1ca21 is a color in the Yellow, Gold family: RGB(209, 202, 33), HSL(58°, 73%, 47%), CMYK(0%, 3%, 84%, 18%). Closest named color: yellowgreen. Contrast is 1.72:1 on white and 12.18:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#d1ca21
RGBrgb(209 202 33)
RGB (legacy)rgb(209, 202, 33)
RGB %rgb(82% 79% 13%)
HSLhsl(58 73% 47%)
HSV / HSBhsv(58, 84%, 82%)
HWBhwb(58 13% 18%)
CMYKcmyk(0%, 3%, 84%, 18%)
CIELAB (D50)lab(79.96 -9.9 74.71)
LCHlch(79.96 75.36 97.55)
OKLaboklab(0.8188 -0.0493 0.1615)
OKLCHoklch(0.8188 0.1688 106.97)
Decimal13748769

Properties

Color ToneYellow, Gold
Closest named coloryellowgreen ΔE 7.1
Closest web-safe color#cccc33
Hue58°
Saturation (HSL / HSV)73% / 84%
Lightness (HSL)47%
Brightness or Value (HSV)82%
Luminance (Rec.601 / Rec.709)72% / 75%
Relative luminance (WCAG)0.5591
Red / Green / Blue209 / 202 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.72:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
12.18: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 / -71.8 · As background with white / black text: Lc -34.8 / 72.9

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: #d1ca21;
  --color-brand-oklch: oklch(81.88% 0.1688 106.97);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(209 202 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#d1ca21] text-[#d1ca21] border-[#d1ca21]">