#2AB840#2AB840

#2AB840 is a light, vivid green. Relative luminance 0.351; OKLCH L 68.6% C 0.199 H 145.1°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#2AB840
RGBrgb(42, 184, 64)
HSLhsl(129, 63%, 44%)
HSVhsv(129, 77%, 72%)
CMYKcmyk(77.2%, 0%, 65.2%, 27.8%)
CIE-LABlab(65.86, -60.38, 49.04)
CIE-LCHlch(65.86, 77.79, 140.92°)
OKLaboklab(68.58% -0.1629 0.1139)
OKLCHoklch(68.58% 0.199 145.1)
XYZxyz(19.0194, 35.1411, 10.6300)
Luminance0.3514 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB840 #B82AA2
analogous
#5BB82A #2AB840 #2AB887
triadic
#2AB840 #402AB8 #B8402A
tetradic
#2AB840 #2A5BB8 #B82AA2 #B8872A
square
#2AB840 #2A5BB8 #B82AA2 #B8872A
split-complementary
#2AB840 #872AB8 #B82A5B
monochromatic
#13541D #1F862F #2AB840 #4AD65F #7BE18B

Accessibility & contrast

On white

2.62
#2AB840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#2AB840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB840
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB840#FFFFFF#000000##000000
##2AB8401.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA731
Deuteranopia (green-blind)
#AB9C4B
Tritanopia (blue-blind)
#00B39F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #2ab840;
/* rgb */ color: rgb(42, 184, 64);
/* oklch */ color: oklch(68.6% 0.199 145.1);
Tailwind
colors: {
  custom: {
    50: '#7bcf7a',
    500: '#2ab840',
    950: '#000000',
  },
}
SCSS
$custom: #2ab840;
$custom-light: #7bcf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab840",
  "rgb": {
    "r": 42,
    "g": 184,
    "b": 64
  },
  "hsl": {
    "h": 129.296,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.68575,
    "c": 0.19877,
    "h": 145.1
  },
  "luminance": 0.35143
}

Semantic roles & 50–950 ramp

primary
#2AB840
secondary
#C975BC
accent
#42CCE6
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B1409
muted
#7C827B

Preview Lab

Preview with #2AB840

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

Preview Lab → · Contrast checker → · Palette generator →

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