#CAAE21

A color in the Yellow, Gold family

#caae21 is a color in the Yellow, Gold family: RGB(202, 174, 33), HSL(50°, 72%, 46%), CMYK(0%, 14%, 84%, 21%). Closest named color: goldenrod. Contrast is 2.19:1 on white and 9.59:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#caae21
RGBrgb(202 174 33)
RGB (legacy)rgb(202, 174, 33)
RGB %rgb(79% 68% 13%)
HSLhsl(50 72% 46%)
HSV / HSBhsv(50, 84%, 79%)
HWBhwb(50 13% 21%)
CMYKcmyk(0%, 14%, 84%, 21%)
CIELAB (D50)lab(71.94 0.76 68.07)
LCHlch(71.94 68.07 89.36)
OKLaboklab(0.7534 -0.0172 0.1466)
OKLCHoklch(0.7534 0.1476 96.7)
Decimal13282849

Properties

Color ToneYellow, Gold
Closest named colorgoldenrod ΔE 3.3
Closest web-safe color#cc9933
Hue50°
Saturation (HSL / HSV)72% / 84%
Lightness (HSL)46%
Brightness or Value (HSV)79%
Luminance (Rec.601 / Rec.709)65% / 67%
Relative luminance (WCAG)0.4294
Red / Green / Blue202 / 174 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.19:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
9.59: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 42.9 / -59.3 · As background with white / black text: Lc -47.7 / 61

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