#CCE921

A color in the Yellow, Gold family

#cce921 is a color in the Yellow, Gold family: RGB(204, 233, 33), HSL(69°, 82%, 52%), CMYK(12%, 0%, 86%, 9%). Closest named color: greenyellow. Contrast is 1.38:1 on white and 15.25:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#cce921
RGBrgb(204 233 33)
RGB (legacy)rgb(204, 233, 33)
RGB %rgb(80% 91% 13%)
HSLhsl(69 82% 52%)
HSV / HSBhsv(69, 86%, 91%)
HWBhwb(69 13% 9%)
CMYKcmyk(12%, 0%, 86%, 9%)
CIELAB (D50)lab(87.94 -26.12 80.77)
LCHlch(87.94 84.89 107.92)
OKLaboklab(0.8823 -0.0959 0.1758)
OKLCHoklch(0.8823 0.2003 118.6)
Decimal13429025

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.38:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
15.25: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.2 / -85.3 · As background with white / black text: Lc -20.8 / 85.5

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: #cce921;
  --color-brand-oklch: oklch(88.23% 0.2003 118.6);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(204 233 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#cce921] text-[#cce921] border-[#cce921]">