#2AAC40#2AAC40

#2AAC40 is a light, vivid green. Relative luminance 0.304; OKLCH L 65.3% C 0.185 H 145.5°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#2AAC40
RGBrgb(42, 172, 64)
HSLhsl(130, 61%, 42%)
HSVhsv(130, 76%, 67%)
CMYKcmyk(75.6%, 0%, 62.8%, 32.5%)
CIE-LABlab(61.97, -56.41, 44.69)
CIE-LCHlch(61.97, 71.97, 141.61°)
OKLaboklab(65.35% -0.1521 0.1046)
OKLCHoklch(65.35% 0.185 145.5)
XYZxyz(16.6316, 30.3655, 9.8341)
Luminance0.3037 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AAC40 #AC2A96
analogous
#55AC2A #2AAC40 #2AAC81
triadic
#2AAC40 #402AAC #AC402A
tetradic
#2AAC40 #2A55AC #AC2A96 #AC812A
square
#2AAC40 #2A55AC #AC2A96 #AC812A
split-complementary
#2AAC40 #812AAC #AC2A55
monochromatic
#124A1B #1E7B2E #2AAC40 #42D15A #73DD85

Accessibility & contrast

On white

2.97
#2AAC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#2AAC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AAC40
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AAC40#FFFFFF#000000##000000
##2AAC401.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C34
Deuteranopia (green-blind)
#A09249
Tritanopia (blue-blind)
#00A895
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #2aac40;
/* rgb */ color: rgb(42, 172, 64);
/* oklch */ color: oklch(65.3% 0.185 145.5);
Tailwind
colors: {
  custom: {
    50: '#79c679',
    500: '#2aac40',
    950: '#000000',
  },
}
SCSS
$custom: #2aac40;
$custom-light: #79c679;
$custom-dark: #000000;
JSON
{
  "hex": "#2aac40",
  "rgb": {
    "r": 42,
    "g": 172,
    "b": 64
  },
  "hsl": {
    "h": 130.154,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.65346,
    "c": 0.18464,
    "h": 145.5
  },
  "luminance": 0.30367
}

Semantic roles & 50–950 ramp

primary
#2AAC40
secondary
#C46DB6
accent
#44C9E4
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0A1309
muted
#7C827B

Preview Lab

Preview with #2AAC40

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

Preview Lab → · Contrast checker → · Palette generator →

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