#2AAA2E

A color in the Green family

#2aaa2e is a color in the Green family: RGB(42, 170, 46), HSL(122°, 60%, 42%), CMYK(75%, 0%, 73%, 33%). Closest named color: mediumseagreen. Contrast is 3.05:1 on white and 6.89:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#2aaa2e
RGBrgb(42 170 46)
RGB (legacy)rgb(42, 170, 46)
RGB %rgb(16% 67% 18%)
HSLhsl(122 60% 42%)
HSV / HSBhsv(122, 75%, 67%)
HWBhwb(122 16% 33%)
CMYKcmyk(75%, 0%, 73%, 33%)
CIELAB (D50)lab(61.22 -53.12 50.19)
LCHlch(61.22 73.08 136.63)
OKLaboklab(0.6463 -0.1561 0.1165)
OKLCHoklch(0.6463 0.1948 143.26)
Decimal2796078

Properties

Color ToneGreen
Closest named colormediumseagreen ΔE 7.2
Closest web-safe color#339933
Hue122°
Saturation (HSL / HSV)60% / 75%
Lightness (HSL)42%
Brightness or Value (HSV)67%
Luminance (Rec.601 / Rec.709)46% / 52%
Relative luminance (WCAG)0.2944
Red / Green / Blue42 / 170 / 46

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.05:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.89: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 56.8 / -45 · As background with white / black text: Lc -62.1 / 47.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: #2aaa2e;
  --color-brand-oklch: oklch(64.63% 0.1948 143.26);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(42 170 46 / 50%); }
/* Tailwind CSS */
<div class="bg-[#2aaa2e] text-[#2aaa2e] border-[#2aaa2e]">