#2AB240#2AB240

#2AB240 is a light, vivid green. Relative luminance 0.327; OKLCH L 67.0% C 0.192 H 145.3°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#2AB240
RGBrgb(42, 178, 64)
HSLhsl(130, 62%, 43%)
HSVhsv(130, 76%, 70%)
CMYKcmyk(76.4%, 0%, 64%, 30.2%)
CIE-LABlab(63.92, -58.41, 46.89)
CIE-LCHlch(63.92, 74.90, 141.25°)
OKLaboklab(66.96% -0.1576 0.1093)
OKLCHoklch(66.96% 0.192 145.3)
XYZxyz(17.7994, 32.7011, 10.2234)
Luminance0.3270 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB240 #B22A9C
analogous
#58B22A #2AB240 #2AB284
triadic
#2AB240 #402AB2 #B2402A
tetradic
#2AB240 #2A58B2 #B22A9C #B2842A
square
#2AB240 #2A58B2 #B22A9C #B2842A
split-complementary
#2AB240 #842AB2 #B22A58
monochromatic
#134F1C #1E802E #2AB240 #46D35D #77DF88

Accessibility & contrast

On white

2.78
#2AB240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#2AB240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB240
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB240#FFFFFF#000000##000000
##2AB2401.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A132
Deuteranopia (green-blind)
#A6974A
Tritanopia (blue-blind)
#00AD9A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #2ab240;
/* rgb */ color: rgb(42, 178, 64);
/* oklch */ color: oklch(67.0% 0.192 145.3);
Tailwind
colors: {
  custom: {
    50: '#7aca79',
    500: '#2ab240',
    950: '#000000',
  },
}
SCSS
$custom: #2ab240;
$custom-light: #7aca79;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab240",
  "rgb": {
    "r": 42,
    "g": 178,
    "b": 64
  },
  "hsl": {
    "h": 129.706,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.66964,
    "c": 0.19177,
    "h": 145.3
  },
  "luminance": 0.32703
}

Semantic roles & 50–950 ramp

primary
#2AB240
secondary
#C771B9
accent
#43CBE5
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #2AB240

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

Preview Lab → · Contrast checker → · Palette generator →

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