#2AA821#2AA821

#2AA821 is a light, vivid green. Relative luminance 0.286; OKLCH L 64.0% C 0.200 H 142.1°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#2AA821
RGBrgb(42, 168, 33)
HSLhsl(116, 67%, 39%)
HSVhsv(116, 80%, 66%)
CMYKcmyk(75%, 0%, 80.4%, 34.1%)
CIE-LABlab(60.43, -57.87, 55.01)
CIE-LCHlch(60.43, 79.84, 136.45°)
OKLaboklab(64% -0.1575 0.1225)
OKLCHoklch(64% 0.2 142.1)
XYZxyz(15.2311, 28.6056, 6.1573)
Luminance0.2861 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AA821 #9F21A8
analogous
#6EA821 #2AA821 #21A85C
triadic
#2AA821 #212AA8 #A8212A
tetradic
#2AA821 #216EA8 #9F21A8 #A85C21
square
#2AA821 #216EA8 #9F21A8 #A85C21
split-complementary
#2AA821 #5C21A8 #A8216E
monochromatic
#10420D #1D7517 #2AA821 #3BD630 #6BE063

Accessibility & contrast

On white

3.12
#2AA821 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#2AA821 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2AA821
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AA821#FFFFFF#000000##000000
##2AA8211.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#9E8E31
Tritanopia (blue-blind)
#00A38F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #2aa821;
/* rgb */ color: rgb(42, 168, 33);
/* oklch */ color: oklch(64.0% 0.200 142.1);
Tailwind
colors: {
  custom: {
    50: '#79c368',
    500: '#2aa821',
    950: '#000000',
  },
}
SCSS
$custom: #2aa821;
$custom-light: #79c368;
$custom-dark: #000000;
JSON
{
  "hex": "#2aa821",
  "rgb": {
    "r": 42,
    "g": 168,
    "b": 33
  },
  "hsl": {
    "h": 116,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63998,
    "c": 0.19951,
    "h": 142.1
  },
  "luminance": 0.28607
}

Semantic roles & 50–950 ramp

primary
#2AA821
secondary
#BF5FC5
accent
#3EEADF
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #2AA821

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2AA821 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva