#2AAA21#2AAA21

#2AAA21 is a light, highly saturated green. Relative luminance 0.294; OKLCH L 64.5% C 0.202 H 142.1°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#2AAA21
RGBrgb(42, 170, 33)
HSLhsl(116, 67%, 40%)
HSVhsv(116, 81%, 67%)
CMYKcmyk(75.3%, 0%, 80.6%, 33.3%)
CIE-LABlab(61.09, -58.50, 55.63)
CIE-LCHlch(61.09, 80.73, 136.44°)
OKLaboklab(64.54% -0.1592 0.1238)
OKLCHoklch(64.54% 0.202 142.1)
XYZxyz(15.6032, 29.3497, 6.2813)
Luminance0.2935 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AAA21 #A121AA
analogous
#6FAA21 #2AAA21 #21AA5C
triadic
#2AAA21 #212AAA #AA212A
tetradic
#2AAA21 #216FAA #A121AA #AA5C21
square
#2AAA21 #216FAA #A121AA #AA5C21
split-complementary
#2AAA21 #5C21AA #AA216F
monochromatic
#11430D #1D7717 #2AAA21 #3CD731 #6DE164

Accessibility & contrast

On white

3.06
#2AAA21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#2AAA21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2AAA21
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AAA21#FFFFFF#000000##000000
##2AAA211.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#A09032
Tritanopia (blue-blind)
#00A591
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #2aaa21;
/* rgb */ color: rgb(42, 170, 33);
/* oklch */ color: oklch(64.5% 0.202 142.1);
Tailwind
colors: {
  custom: {
    50: '#7ac468',
    500: '#2aaa21',
    950: '#000000',
  },
}
SCSS
$custom: #2aaa21;
$custom-light: #7ac468;
$custom-dark: #000000;
JSON
{
  "hex": "#2aaa21",
  "rgb": {
    "r": 42,
    "g": 170,
    "b": 33
  },
  "hsl": {
    "h": 116.058,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64544,
    "c": 0.20167,
    "h": 142.1
  },
  "luminance": 0.29351
}

Semantic roles & 50–950 ramp

primary
#2AAA21
secondary
#C061C6
accent
#3DEADF
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #2AAA21

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

Preview Lab → · Contrast checker → · Palette generator →

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