#A2D521

A color in the Green family

#a2d521 is a color in the Green family: RGB(162, 213, 33), HSL(77°, 73%, 48%), CMYK(24%, 0%, 85%, 16%). Closest named color: yellowgreen. Contrast is 1.74:1 on white and 12.08:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#a2d521
RGBrgb(162 213 33)
RGB (legacy)rgb(162, 213, 33)
RGB %rgb(64% 84% 13%)
HSLhsl(77 73% 48%)
HSV / HSBhsv(77, 85%, 84%)
HWBhwb(77 13% 16%)
CMYKcmyk(24%, 0%, 85%, 16%)
CIELAB (D50)lab(79.52 -33.91 72.62)
LCHlch(79.52 80.15 115.03)
OKLaboklab(0.808 -0.1143 0.1599)
OKLCHoklch(0.808 0.1965 125.57)
Decimal10671393

Properties

Color ToneGreen
Closest named coloryellowgreen ΔE 2.7
Closest web-safe color#99cc33
Hue77°
Saturation (HSL / HSV)73% / 85%
Lightness (HSL)48%
Brightness or Value (HSV)84%
Luminance (Rec.601 / Rec.709)70% / 74%
Relative luminance (WCAG)0.5538
Red / Green / Blue162 / 213 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.74:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
12.08: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 31.4 / -71.4 · As background with white / black text: Lc -35.3 / 72.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: #a2d521;
  --color-brand-oklch: oklch(80.8% 0.1965 125.57);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(162 213 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a2d521] text-[#a2d521] border-[#a2d521]">