#22AA21

A color in the Green family

#22aa21 is a color in the Green family: RGB(34, 170, 33), HSL(120°, 67%, 40%), CMYK(80%, 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.

Color Codes

HEX#22aa21
RGBrgb(34 170 33)
RGB (legacy)rgb(34, 170, 33)
RGB %rgb(13% 67% 13%)
HSLhsl(120 67% 40%)
HSV / HSBhsv(120, 81%, 67%)
HWBhwb(120 13% 33%)
CMYKcmyk(80%, 0%, 81%, 33%)
CIELAB (D50)lab(61.02 -54.95 54.17)
LCHlch(61.02 77.17 135.41)
OKLaboklab(0.6439 -0.162 0.1235)
OKLCHoklch(0.6439 0.2037 142.69)
Decimal2271777

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)45% / 51%
Relative luminance (WCAG)0.292
Red / Green / Blue34 / 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.3 / 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: #22aa21;
  --color-brand-oklch: oklch(64.39% 0.2037 142.69);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(34 170 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#22aa21] text-[#22aa21] border-[#22aa21]">