#A2DE21

A color in the Green family

#a2de21 is a color in the Green family: RGB(162, 222, 33), HSL(79°, 74%, 50%), CMYK(27%, 0%, 85%, 13%). Closest named color: yellowgreen. Contrast is 1.61:1 on white and 13.01:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#a2de21
RGBrgb(162 222 33)
RGB (legacy)rgb(162, 222, 33)
RGB %rgb(64% 87% 13%)
HSLhsl(79 74% 50%)
HSV / HSBhsv(79, 85%, 87%)
HWBhwb(79 13% 13%)
CMYKcmyk(27%, 0%, 85%, 13%)
CIELAB (D50)lab(82.11 -37.63 74.74)
LCHlch(82.11 83.68 116.73)
OKLaboklab(0.8291 -0.125 0.1646)
OKLCHoklch(0.8291 0.2067 127.2)
Decimal10673697

Properties

Color ToneGreen
Closest named coloryellowgreen ΔE 5
Closest web-safe color#99cc33
Hue79°
Saturation (HSL / HSV)74% / 85%
Lightness (HSL)50%
Brightness or Value (HSV)87%
Luminance (Rec.601 / Rec.709)72% / 77%
Relative luminance (WCAG)0.6003
Red / Green / Blue162 / 222 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.61:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
13.01: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 27.3 / -75.6 · As background with white / black text: Lc -30.9 / 76.5

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: #a2de21;
  --color-brand-oklch: oklch(82.91% 0.2067 127.2);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(162 222 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a2de21] text-[#a2de21] border-[#a2de21]">