#2A8421

A color in the Green family

#2a8421 is a color in the Green family: RGB(42, 132, 33), HSL(115°, 60%, 32%), CMYK(68%, 0%, 75%, 48%). Closest named color: forestgreen. Contrast is 4.75:1 on white and 4.42:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#2a8421
RGBrgb(42 132 33)
RGB (legacy)rgb(42, 132, 33)
RGB %rgb(16% 52% 13%)
HSLhsl(115 60% 32%)
HSV / HSBhsv(115, 75%, 52%)
HWBhwb(115 13% 48%)
CMYKcmyk(68%, 0%, 75%, 48%)
CIELAB (D50)lab(48.45 -41.99 42.32)
LCHlch(48.45 59.61 134.78)
OKLaboklab(0.54 -0.1245 0.0979)
OKLCHoklch(0.54 0.1584 141.82)
Decimal2786337

Properties

Color ToneGreen
Closest named colorforestgreen ΔE 2.1
Closest web-safe color#339933
Hue115°
Saturation (HSL / HSV)60% / 75%
Lightness (HSL)32%
Brightness or Value (HSV)52%
Luminance (Rec.601 / Rec.709)37% / 41%
Relative luminance (WCAG)0.171
Red / Green / Blue42 / 132 / 33

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 72.6 / -29.1 · As background with white / black text: Lc -78 / 31.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: #2a8421;
  --color-brand-oklch: oklch(54% 0.1584 141.82);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(42 132 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#2a8421] text-[#2a8421] border-[#2a8421]">