#2AB040#2AB040

#2AB040 is a light, vivid green. Relative luminance 0.319; OKLCH L 66.4% C 0.189 H 145.3°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#2AB040
RGBrgb(42, 176, 64)
HSLhsl(130, 61%, 43%)
HSVhsv(130, 76%, 69%)
CMYKcmyk(76.1%, 0%, 63.6%, 31%)
CIE-LABlab(63.27, -57.75, 46.16)
CIE-LCHlch(63.27, 73.93, 141.36°)
OKLaboklab(66.43% -0.1558 0.1077)
OKLCHoklch(66.43% 0.189 145.3)
XYZxyz(17.4044, 31.9110, 10.0917)
Luminance0.3191 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB040 #B02A9A
analogous
#57B02A #2AB040 #2AB083
triadic
#2AB040 #402AB0 #B0402A
tetradic
#2AB040 #2A57B0 #B02A9A #B0832A
square
#2AB040 #2A57B0 #B02A9A #B0832A
split-complementary
#2AB040 #832AB0 #B02A57
monochromatic
#124D1C #1E7F2E #2AB040 #45D35C #76DE87

Accessibility & contrast

On white

2.84
#2AB040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#2AB040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB040
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB040#FFFFFF#000000##000000
##2AB0401.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F33
Deuteranopia (green-blind)
#A4954A
Tritanopia (blue-blind)
#00AB98
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #2ab040;
/* rgb */ color: rgb(42, 176, 64);
/* oklch */ color: oklch(66.4% 0.189 145.3);
Tailwind
colors: {
  custom: {
    50: '#7ac979',
    500: '#2ab040',
    950: '#000000',
  },
}
SCSS
$custom: #2ab040;
$custom-light: #7ac979;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab040",
  "rgb": {
    "r": 42,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 129.851,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.66426,
    "c": 0.18941,
    "h": 145.3
  },
  "luminance": 0.31913
}

Semantic roles & 50–950 ramp

primary
#2AB040
secondary
#C670B8
accent
#43CAE5
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #2AB040

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

Preview Lab → · Contrast checker → · Palette generator →

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