#2AAF40#2AAF40

#2AAF40 is a light, vivid green. Relative luminance 0.315; OKLCH L 66.2% C 0.188 H 145.4°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#2AAF40
RGBrgb(42, 175, 64)
HSLhsl(130, 61%, 43%)
HSVhsv(130, 76%, 69%)
CMYKcmyk(76%, 0%, 63.4%, 31.4%)
CIE-LABlab(62.94, -57.41, 45.80)
CIE-LCHlch(62.94, 73.44, 141.42°)
OKLaboklab(66.16% -0.1549 0.107)
OKLCHoklch(66.16% 0.188 145.4)
XYZxyz(17.2090, 31.5203, 10.0266)
Luminance0.3152 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AAF40 #AF2A99
analogous
#56AF2A #2AAF40 #2AAF83
triadic
#2AAF40 #402AAF #AF402A
tetradic
#2AAF40 #2A56AF #AF2A99 #AF832A
square
#2AAF40 #2A56AF #AF2A99 #AF832A
split-complementary
#2AAF40 #832AAF #AF2A56
monochromatic
#124C1C #1E7E2E #2AAF40 #44D25C #75DE87

Accessibility & contrast

On white

2.87
#2AAF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#2AAF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AAF40
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AAF40#FFFFFF#000000##000000
##2AAF401.002.877.307.30
#FFFFFF2.871.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F33
Deuteranopia (green-blind)
#A3944A
Tritanopia (blue-blind)
#00AB98
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #2aaf40;
/* rgb */ color: rgb(42, 175, 64);
/* oklch */ color: oklch(66.2% 0.188 145.4);
Tailwind
colors: {
  custom: {
    50: '#79c879',
    500: '#2aaf40',
    950: '#000000',
  },
}
SCSS
$custom: #2aaf40;
$custom-light: #79c879;
$custom-dark: #000000;
JSON
{
  "hex": "#2aaf40",
  "rgb": {
    "r": 42,
    "g": 175,
    "b": 64
  },
  "hsl": {
    "h": 129.925,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.66156,
    "c": 0.18822,
    "h": 145.4
  },
  "luminance": 0.31522
}

Semantic roles & 50–950 ramp

primary
#2AAF40
secondary
#C66FB7
accent
#43CAE4
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #2AAF40

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

Preview Lab → · Contrast checker → · Palette generator →

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