#C2E921

A color in the Yellow, Gold family

#c2e921 is a color in the Yellow, Gold family: RGB(194, 233, 33), HSL(72°, 82%, 52%), CMYK(17%, 0%, 86%, 9%). Closest named color: greenyellow. Contrast is 1.4:1 on white and 14.97:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#c2e921
RGBrgb(194 233 33)
RGB (legacy)rgb(194, 233, 33)
RGB %rgb(76% 91% 13%)
HSLhsl(72 82% 52%)
HSV / HSBhsv(72, 86%, 91%)
HWBhwb(72 13% 9%)
CMYKcmyk(17%, 0%, 86%, 9%)
CIELAB (D50)lab(87.25 -30.06 79.88)
LCHlch(87.25 85.34 110.62)
OKLaboklab(0.8752 -0.1063 0.1744)
OKLCHoklch(0.8752 0.2043 121.35)
Decimal12773665

Properties

Color ToneYellow, Gold
Closest named colorgreenyellow ΔE 5.8
Closest web-safe color#ccff33
Hue72°
Saturation (HSL / HSV)82% / 86%
Lightness (HSL)52%
Brightness or Value (HSV)91%
Luminance (Rec.601 / Rec.709)78% / 82%
Relative luminance (WCAG)0.6986
Red / Green / Blue194 / 233 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.40:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
14.97: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 19.3 / -84.2 · As background with white / black text: Lc -22 / 84.4

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