#2CAB21

A color in the Green family

#2cab21 is a color in the Green family: RGB(44, 171, 33), HSL(115°, 68%, 40%), CMYK(74%, 0%, 81%, 33%). Closest named color: mediumseagreen. Contrast is 3.02:1 on white and 6.95:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#2cab21
RGBrgb(44 171 33)
RGB (legacy)rgb(44, 171, 33)
RGB %rgb(17% 67% 13%)
HSLhsl(115 68% 40%)
HSV / HSBhsv(115, 81%, 67%)
HWBhwb(115 13% 33%)
CMYKcmyk(74%, 0%, 81%, 33%)
CIELAB (D50)lab(61.52 -53.78 54.71)
LCHlch(61.52 76.72 134.51)
OKLaboklab(0.6486 -0.1593 0.1245)
OKLCHoklch(0.6486 0.2022 141.99)
Decimal2927393

Properties

Color ToneGreen
Closest named colormediumseagreen ΔE 7.8
Closest web-safe color#339933
Hue115°
Saturation (HSL / HSV)68% / 81%
Lightness (HSL)40%
Brightness or Value (HSV)67%
Luminance (Rec.601 / Rec.709)46% / 53%
Relative luminance (WCAG)0.2977
Red / Green / Blue44 / 171 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.02:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.95: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.4 / -45.4 · As background with white / black text: Lc -61.7 / 47.7

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