#C2EC4E

A color in the Green family

#c2ec4e is a color in the Green family: RGB(194, 236, 78), HSL(76°, 81%, 62%), CMYK(18%, 0%, 67%, 7%). Closest named color: greenyellow. Contrast is 1.36:1 on white and 15.4:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#c2ec4e
RGBrgb(194 236 78)
RGB (legacy)rgb(194, 236, 78)
RGB %rgb(76% 93% 31%)
HSLhsl(76 81% 62%)
HSV / HSBhsv(76, 67%, 93%)
HWBhwb(76 31% 7%)
CMYKcmyk(18%, 0%, 67%, 7%)
CIELAB (D50)lab(88.26 -29.95 68.15)
LCHlch(88.26 74.44 113.72)
OKLaboklab(0.8844 -0.1015 0.1557)
OKLCHoklch(0.8844 0.1859 123.11)
Decimal12774478

Properties

Color ToneGreen
Closest named colorgreenyellow ΔE 6.1
Closest web-safe color#ccff66
Hue76°
Saturation (HSL / HSV)81% / 67%
Lightness (HSL)62%
Brightness or Value (HSV)93%
Luminance (Rec.601 / Rec.709)81% / 85%
Relative luminance (WCAG)0.7201
Red / Green / Blue194 / 236 / 78

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.40: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.6 / -85.9 · As background with white / black text: Lc -20.2 / 86

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: #c2ec4e;
  --color-brand-oklch: oklch(88.44% 0.1859 123.11);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(194 236 78 / 50%); }
/* Tailwind CSS */
<div class="bg-[#c2ec4e] text-[#c2ec4e] border-[#c2ec4e]">