#C4ED21

A color in the Yellow, Gold family

#c4ed21 is a color in the Yellow, Gold family: RGB(196, 237, 33), HSL(72°, 85%, 53%), CMYK(17%, 0%, 86%, 7%). Closest named color: greenyellow. Contrast is 1.36:1 on white and 15.48:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#c4ed21
RGBrgb(196 237 33)
RGB (legacy)rgb(196, 237, 33)
RGB %rgb(77% 93% 13%)
HSLhsl(72 85% 53%)
HSV / HSBhsv(72, 86%, 93%)
HWBhwb(72 13% 7%)
CMYKcmyk(17%, 0%, 86%, 7%)
CIELAB (D50)lab(88.49 -30.99 80.93)
LCHlch(88.49 86.66 110.95)
OKLaboklab(0.8856 -0.1091 0.1767)
OKLCHoklch(0.8856 0.2077 121.7)
Decimal12905761

Properties

Color ToneYellow, Gold
Closest named colorgreenyellow ΔE 4.9
Closest web-safe color#ccff33
Hue72°
Saturation (HSL / HSV)85% / 86%
Lightness (HSL)53%
Brightness or Value (HSV)93%
Luminance (Rec.601 / Rec.709)79% / 84%
Relative luminance (WCAG)0.7241
Red / Green / Blue196 / 237 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.36:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
15.48: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.3 / -86.4 · As background with white / black text: Lc -19.8 / 86.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: #c4ed21;
  --color-brand-oklch: oklch(88.56% 0.2077 121.7);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(196 237 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#c4ed21] text-[#c4ed21] border-[#c4ed21]">