#2AB540#2AB540

#2AB540 is a light, vivid green. Relative luminance 0.339; OKLCH L 67.8% C 0.195 H 145.2°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#2AB540
RGBrgb(42, 181, 64)
HSLhsl(129, 62%, 44%)
HSVhsv(129, 77%, 71%)
CMYKcmyk(76.8%, 0%, 64.6%, 29%)
CIE-LABlab(64.89, -59.40, 47.97)
CIE-LCHlch(64.89, 76.35, 141.08°)
OKLaboklab(67.77% -0.1603 0.1116)
OKLCHoklch(67.77% 0.195 145.2)
XYZxyz(18.4028, 33.9080, 10.4245)
Luminance0.3391 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB540 #B52A9F
analogous
#59B52A #2AB540 #2AB585
triadic
#2AB540 #402AB5 #B5402A
tetradic
#2AB540 #2A59B5 #B52A9F #B5852A
square
#2AB540 #2A59B5 #B52A9F #B5852A
split-complementary
#2AB540 #852AB5 #B52A59
monochromatic
#13521D #1E832E #2AB540 #48D45E #79E08A

Accessibility & contrast

On white

2.70
#2AB540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#2AB540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB540
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB540#FFFFFF#000000##000000
##2AB5401.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A432
Deuteranopia (green-blind)
#A9994A
Tritanopia (blue-blind)
#00B09D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #2ab540;
/* rgb */ color: rgb(42, 181, 64);
/* oklch */ color: oklch(67.8% 0.195 145.2);
Tailwind
colors: {
  custom: {
    50: '#7bcc7a',
    500: '#2ab540',
    950: '#000000',
  },
}
SCSS
$custom: #2ab540;
$custom-light: #7bcc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab540",
  "rgb": {
    "r": 42,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 129.496,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.6777,
    "c": 0.19529,
    "h": 145.2
  },
  "luminance": 0.3391
}

Semantic roles & 50–950 ramp

primary
#2AB540
secondary
#C873BB
accent
#42CCE5
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B1409
muted
#7C827B

Preview Lab

Preview with #2AB540

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

Preview Lab → · Contrast checker → · Palette generator →

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