#21AA21

A color in the Green family

#21aa21 is a color in the Green family: RGB(33, 170, 33), HSL(120°, 67%, 40%), CMYK(81%, 0%, 81%, 33%). Closest named color: mediumseagreen. Contrast is 3.07:1 on white and 6.84:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#21aa21
RGBrgb(33 170 33)
RGB (legacy)rgb(33, 170, 33)
RGB %rgb(13% 67% 13%)
HSLhsl(120 67% 40%)
HSV / HSBhsv(120, 81%, 67%)
HWBhwb(120 13% 33%)
CMYKcmyk(81%, 0%, 81%, 33%)
CIELAB (D50)lab(61 -55.08 54.15)
LCHlch(61 77.24 135.49)
OKLaboklab(0.6438 -0.1623 0.1234)
OKLCHoklch(0.6438 0.2039 142.75)
Decimal2206241

Properties

Color ToneGreen
Closest named colormediumseagreen ΔE 8.1
Closest web-safe color#339933
Hue120°
Saturation (HSL / HSV)67% / 81%
Lightness (HSL)40%
Brightness or Value (HSV)67%
Luminance (Rec.601 / Rec.709)44% / 51%
Relative luminance (WCAG)0.2918
Red / Green / Blue33 / 170 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.07:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.84:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 57 / -44.8 · As background with white / black text: Lc -62.4 / 47.1

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: #21aa21;
  --color-brand-oklch: oklch(64.38% 0.2039 142.75);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(33 170 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#21aa21] text-[#21aa21] border-[#21aa21]">