#CAC821

A color in the Yellow, Gold family

#cac821 is a color in the Yellow, Gold family: RGB(202, 200, 33), HSL(59°, 72%, 46%), CMYK(0%, 1%, 84%, 21%). Closest named color: yellowgreen. Contrast is 1.78:1 on white and 11.79:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#cac821
RGBrgb(202 200 33)
RGB (legacy)rgb(202, 200, 33)
RGB %rgb(79% 78% 13%)
HSLhsl(59 72% 46%)
HSV / HSBhsv(59, 84%, 79%)
HWBhwb(59 13% 21%)
CMYKcmyk(0%, 1%, 84%, 21%)
CIELAB (D50)lab(78.83 -11.9 73.52)
LCHlch(78.83 74.47 99.2)
OKLaboklab(0.8085 -0.0545 0.1593)
OKLCHoklch(0.8085 0.1683 108.88)
Decimal13289505

Properties

Color ToneYellow, Gold
Closest named coloryellowgreen ΔE 6.1
Closest web-safe color#cccc33
Hue59°
Saturation (HSL / HSV)72% / 84%
Lightness (HSL)46%
Brightness or Value (HSV)79%
Luminance (Rec.601 / Rec.709)71% / 74%
Relative luminance (WCAG)0.5397
Red / Green / Blue202 / 200 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.78:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
11.79: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 32.7 / -70 · As background with white / black text: Lc -36.7 / 71.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: #cac821;
  --color-brand-oklch: oklch(80.85% 0.1683 108.88);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(202 200 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#cac821] text-[#cac821] border-[#cac821]">