#2AA540#2AA540

#2AA540 is a light, vivid green. Relative luminance 0.278; OKLCH L 63.4% C 0.176 H 145.8°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#2AA540
RGBrgb(42, 165, 64)
HSLhsl(131, 59%, 41%)
HSVhsv(131, 75%, 65%)
CMYKcmyk(74.5%, 0%, 61.2%, 35.3%)
CIE-LABlab(59.68, -54.02, 42.09)
CIE-LCHlch(59.68, 68.48, 142.08°)
OKLaboklab(63.45% -0.1457 0.099)
OKLCHoklch(63.45% 0.176 145.8)
XYZxyz(15.3343, 27.7709, 9.4017)
Luminance0.2777 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AA540 #A52A8F
analogous
#51A52A #2AA540 #2AA57D
triadic
#2AA540 #402AA5 #A5402A
tetradic
#2AA540 #2A51A5 #A52A8F #A57D2A
square
#2AA540 #2A51A5 #A52A8F #A57D2A
split-complementary
#2AA540 #7D2AA5 #A52A51
monochromatic
#11431A #1E742D #2AA540 #3ECE58 #6FDA82

Accessibility & contrast

On white

3.20
#2AA540 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#2AA540 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2AA540
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AA540#FFFFFF#000000##000000
##2AA5401.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89635
Deuteranopia (green-blind)
#998C48
Tritanopia (blue-blind)
#00A18F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #2aa540;
/* rgb */ color: rgb(42, 165, 64);
/* oklch */ color: oklch(63.4% 0.176 145.8);
Tailwind
colors: {
  custom: {
    50: '#77c178',
    500: '#2aa540',
    950: '#000000',
  },
}
SCSS
$custom: #2aa540;
$custom-light: #77c178;
$custom-dark: #000000;
JSON
{
  "hex": "#2aa540",
  "rgb": {
    "r": 42,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 130.732,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.6345,
    "c": 0.17613,
    "h": 145.8
  },
  "luminance": 0.27773
}

Semantic roles & 50–950 ramp

primary
#2AA540
secondary
#C169B2
accent
#45C6E3
background
#F7FCF7
surface
#EEF8ED
border
#C9D1C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #2AA540

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

Preview Lab → · Contrast checker → · Palette generator →

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