#2AAF21#2AAF21

#2AAF21 is a light, highly saturated green. Relative luminance 0.313; OKLCH L 65.9% C 0.207 H 142.2°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#2AAF21
RGBrgb(42, 175, 33)
HSLhsl(116, 68%, 41%)
HSVhsv(116, 81%, 69%)
CMYKcmyk(76%, 0%, 81.1%, 31.4%)
CIE-LABlab(62.73, -60.09, 57.17)
CIE-LCHlch(62.73, 82.94, 136.42°)
OKLaboklab(65.91% -0.1635 0.127)
OKLCHoklch(65.91% 0.207 142.2)
XYZxyz(16.5583, 31.2601, 6.5997)
Luminance0.3126 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AAF21 #A621AF
analogous
#71AF21 #2AAF21 #21AF5F
triadic
#2AAF21 #212AAF #AF212A
tetradic
#2AAF21 #2171AF #A621AF #AF5F21
square
#2AAF21 #2171AF #A621AF #AF5F21
split-complementary
#2AAF21 #5F21AF #AF2171
monochromatic
#11480E #1E7C17 #2AAF21 #3FD934 #70E368

Accessibility & contrast

On white

2.90
#2AAF21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#2AAF21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AAF21
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AAF21#FFFFFF#000000##000000
##2AAF211.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#A59433
Tritanopia (blue-blind)
#00AA95
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #2aaf21;
/* rgb */ color: rgb(42, 175, 33);
/* oklch */ color: oklch(65.9% 0.207 142.2);
Tailwind
colors: {
  custom: {
    50: '#7bc869',
    500: '#2aaf21',
    950: '#000000',
  },
}
SCSS
$custom: #2aaf21;
$custom-light: #7bc869;
$custom-dark: #000000;
JSON
{
  "hex": "#2aaf21",
  "rgb": {
    "r": 42,
    "g": 175,
    "b": 33
  },
  "hsl": {
    "h": 116.197,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.65905,
    "c": 0.20702,
    "h": 142.2
  },
  "luminance": 0.31262
}

Semantic roles & 50–950 ramp

primary
#2AAF21
secondary
#C264C8
accent
#3DEBE0
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #2AAF21

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

Preview Lab → · Contrast checker → · Palette generator →

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