#C4E521

A color in the Yellow, Gold family

#c4e521 is a color in the Yellow, Gold family: RGB(196, 229, 33), HSL(70°, 79%, 51%), CMYK(14%, 0%, 86%, 10%). Closest named color: greenyellow. Contrast is 1.44:1 on white and 14.58:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#c4e521
RGBrgb(196 229 33)
RGB (legacy)rgb(196, 229, 33)
RGB %rgb(77% 90% 13%)
HSLhsl(70 79% 51%)
HSV / HSBhsv(70, 86%, 90%)
HWBhwb(70 13% 10%)
CMYKcmyk(14%, 0%, 86%, 10%)
CIELAB (D50)lab(86.28 -27.54 79.18)
LCHlch(86.28 83.83 109.18)
OKLaboklab(0.8677 -0.0992 0.1727)
OKLCHoklch(0.8677 0.1992 119.88)
Decimal12903713

Properties

Color ToneYellow, Gold
Closest named colorgreenyellow ΔE 6.8
Closest web-safe color#cccc33
Hue70°
Saturation (HSL / HSV)79% / 86%
Lightness (HSL)51%
Brightness or Value (HSV)90%
Luminance (Rec.601 / Rec.709)77% / 82%
Relative luminance (WCAG)0.6788
Red / Green / Blue196 / 229 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.44:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
14.58: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 20.9 / -82.5 · As background with white / black text: Lc -23.8 / 82.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: #c4e521;
  --color-brand-oklch: oklch(86.77% 0.1992 119.88);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(196 229 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#c4e521] text-[#c4e521] border-[#c4e521]">