#2AA252#2AA252

#2AA252 is a light, vivid green. Relative luminance 0.269; OKLCH L 62.9% C 0.157 H 149.9°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#2AA252
RGBrgb(42, 162, 82)
HSLhsl(140, 59%, 40%)
HSVhsv(140, 74%, 64%)
CMYKcmyk(74.1%, 0%, 49.4%, 36.5%)
CIE-LABlab(58.92, -50.36, 32.31)
CIE-LCHlch(58.92, 59.83, 147.32°)
OKLaboklab(62.89% -0.1355 0.0786)
OKLCHoklch(62.89% 0.157 149.9)
XYZxyz(15.3969, 26.9403, 12.3696)
Luminance0.2694 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AA252 #A22A7A
analogous
#3EA22A #2AA252 #2AA28E
triadic
#2AA252 #522AA2 #A2522A
tetradic
#2AA252 #2A3EA2 #A22A7A #A28E2A
square
#2AA252 #2A3EA2 #A22A7A #A28E2A
split-complementary
#2AA252 #8E2AA2 #A22A3E
monochromatic
#114121 #1D7139 #2AA252 #3DCD6D #6DD991

Accessibility & contrast

On white

3.29
#2AA252 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#2AA252 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2AA252
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AA252#FFFFFF#000000##000000
##2AA2521.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3944B
Deuteranopia (green-blind)
#958A58
Tritanopia (blue-blind)
#009F8F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #2aa252;
/* rgb */ color: rgb(42, 162, 82);
/* oklch */ color: oklch(62.9% 0.157 149.9);
Tailwind
colors: {
  custom: {
    50: '#76bf84',
    500: '#2aa252',
    950: '#000000',
  },
}
SCSS
$custom: #2aa252;
$custom-light: #76bf84;
$custom-dark: #000000;
JSON
{
  "hex": "#2aa252",
  "rgb": {
    "r": 42,
    "g": 162,
    "b": 82
  },
  "hsl": {
    "h": 140,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.6289,
    "c": 0.15663,
    "h": 149.9
  },
  "luminance": 0.26942
}

Semantic roles & 50–950 ramp

primary
#2AA252
secondary
#C068A3
accent
#46AEE2
background
#F7FBF8
surface
#EEF7EF
border
#C9D0CA
text
#0A120B
muted
#7C817C

Preview Lab

Preview with #2AA252

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

Preview Lab → · Contrast checker → · Palette generator →

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