#2AA821

A color in the Green family

#2aa821 is a color in the Green family: RGB(42, 168, 33), HSL(116°, 67%, 39%), CMYK(75%, 0%, 80%, 34%). Closest named color: mediumseagreen. Contrast is 3.12:1 on white and 6.72:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#2aa821
RGBrgb(42 168 33)
RGB (legacy)rgb(42, 168, 33)
RGB %rgb(16% 66% 13%)
HSLhsl(116 67% 39%)
HSV / HSBhsv(116, 80%, 66%)
HWBhwb(116 13% 34%)
CMYKcmyk(75%, 0%, 80%, 34%)
CIELAB (D50)lab(60.5 -53.22 53.76)
LCHlch(60.5 75.65 134.71)
OKLaboklab(0.64 -0.1575 0.1225)
OKLCHoklch(0.64 0.1995 142.13)
Decimal2795553

Properties

Color ToneGreen
Closest named colormediumseagreen ΔE 8
Closest web-safe color#339933
Hue116°
Saturation (HSL / HSV)67% / 80%
Lightness (HSL)39%
Brightness or Value (HSV)66%
Luminance (Rec.601 / Rec.709)45% / 52%
Relative luminance (WCAG)0.2861
Red / Green / Blue42 / 168 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.12:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.72: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.7 / -44 · As background with white / black text: Lc -63.1 / 46.3

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: #2aa821;
  --color-brand-oklch: oklch(64% 0.1995 142.13);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(42 168 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#2aa821] text-[#2aa821] border-[#2aa821]">