#CAE821

A color in the Yellow, Gold family

#cae821 is a color in the Yellow, Gold family: RGB(202, 232, 33), HSL(69°, 81%, 52%), CMYK(13%, 0%, 86%, 9%). Closest named color: greenyellow. Contrast is 1.39:1 on white and 15.08:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#cae821
RGBrgb(202 232 33)
RGB (legacy)rgb(202, 232, 33)
RGB %rgb(79% 91% 13%)
HSLhsl(69 81% 52%)
HSV / HSBhsv(69, 86%, 91%)
HWBhwb(69 13% 9%)
CMYKcmyk(13%, 0%, 86%, 9%)
CIELAB (D50)lab(87.53 -26.48 80.37)
LCHlch(87.53 84.62 108.23)
OKLaboklab(0.8786 -0.0967 0.1751)
OKLCHoklch(0.8786 0.2 118.92)
Decimal13297697

Properties

Color ToneYellow, Gold
Closest named colorgreenyellow ΔE 6.4
Closest web-safe color#ccff33
Hue69°
Saturation (HSL / HSV)81% / 86%
Lightness (HSL)52%
Brightness or Value (HSV)91%
Luminance (Rec.601 / Rec.709)79% / 83%
Relative luminance (WCAG)0.7038
Red / Green / Blue202 / 232 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.39:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
15.08: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 18.9 / -84.6 · As background with white / black text: Lc -21.6 / 84.8

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