#CFE921

A color in the Yellow, Gold family

#cfe921 is a color in the Yellow, Gold family: RGB(207, 233, 33), HSL(68°, 82%, 52%), CMYK(11%, 0%, 86%, 9%). Closest named color: greenyellow. Contrast is 1.37:1 on white and 15.33:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#cfe921
RGBrgb(207 233 33)
RGB (legacy)rgb(207, 233, 33)
RGB %rgb(81% 91% 13%)
HSLhsl(68 82% 52%)
HSV / HSBhsv(68, 86%, 91%)
HWBhwb(68 13% 9%)
CMYKcmyk(11%, 0%, 86%, 9%)
CIELAB (D50)lab(88.16 -24.93 81.05)
LCHlch(88.16 84.8 107.1)
OKLaboklab(0.8845 -0.0927 0.1763)
OKLCHoklch(0.8845 0.1992 117.74)
Decimal13625633

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.37:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
15.33: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 17.9 / -85.7 · As background with white / black text: Lc -20.4 / 85.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: #cfe921;
  --color-brand-oklch: oklch(88.45% 0.1992 117.74);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(207 233 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#cfe921] text-[#cfe921] border-[#cfe921]">