#2C8021

A color in the Green family

#2c8021 is a color in the Green family: RGB(44, 128, 33), HSL(113°, 59%, 32%), CMYK(66%, 0%, 74%, 50%). Closest named color: green. Contrast is 4.98:1 on white and 4.22:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#2c8021
RGBrgb(44 128 33)
RGB (legacy)rgb(44, 128, 33)
RGB %rgb(17% 50% 13%)
HSLhsl(113 59% 32%)
HSV / HSBhsv(113, 74%, 50%)
HWBhwb(113 13% 50%)
CMYKcmyk(66%, 0%, 74%, 50%)
CIELAB (D50)lab(47.14 -40.19 41.05)
LCHlch(47.14 57.44 134.39)
OKLaboklab(0.5294 -0.1194 0.0951)
OKLCHoklch(0.5294 0.1527 141.46)
Decimal2916385

Properties

Color ToneGreen
Closest named colorgreen ΔE 2.6
Closest web-safe color#339933
Hue113°
Saturation (HSL / HSV)59% / 74%
Lightness (HSL)32%
Brightness or Value (HSV)50%
Luminance (Rec.601 / Rec.709)36% / 41%
Relative luminance (WCAG)0.1608
Red / Green / Blue44 / 128 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.98:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.22: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 74.1 / -27.6 · As background with white / black text: Lc -79.5 / 30

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: #2c8021;
  --color-brand-oklch: oklch(52.94% 0.1527 141.46);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(44 128 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#2c8021] text-[#2c8021] border-[#2c8021]">