#02AC21

A color in the Green family

#02ac21 is a color in the Green family: RGB(2, 172, 33), HSL(131°, 98%, 34%), CMYK(99%, 0%, 81%, 33%). Closest named color: mediumseagreen. Contrast is 3.03:1 on white and 6.93:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#02ac21
RGBrgb(2 172 33)
RGB (legacy)rgb(2, 172, 33)
RGB %rgb(1% 67% 13%)
HSLhsl(131 98% 34%)
HSV / HSBhsv(131, 99%, 67%)
HWBhwb(131 1% 33%)
CMYKcmyk(99%, 0%, 81%, 33%)
CIELAB (D50)lab(61.38 -58.01 54.37)
LCHlch(61.38 79.51 136.85)
OKLaboklab(0.6462 -0.1697 0.1241)
OKLCHoklch(0.6462 0.2102 143.82)
Decimal175137

Properties

Color ToneGreen
Closest named colormediumseagreen ΔE 8.3
Closest web-safe color#009933
Hue131°
Saturation (HSL / HSV)98% / 99%
Lightness (HSL)34%
Brightness or Value (HSV)67%
Luminance (Rec.601 / Rec.709)41% / 49%
Relative luminance (WCAG)0.2963
Red / Green / Blue2 / 172 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.03:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.93: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.3 / -45.5 · As background with white / black text: Lc -61.6 / 47.8

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: #02ac21;
  --color-brand-oklch: oklch(64.62% 0.2102 143.82);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(2 172 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#02ac21] text-[#02ac21] border-[#02ac21]">