#2AB740#2AB740

#2AB740 is a light, vivid green. Relative luminance 0.347; OKLCH L 68.3% C 0.198 H 145.1°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#2AB740
RGBrgb(42, 183, 64)
HSLhsl(129, 63%, 44%)
HSVhsv(129, 77%, 72%)
CMYKcmyk(77%, 0%, 65%, 28.2%)
CIE-LABlab(65.54, -60.06, 48.69)
CIE-LCHlch(65.54, 77.31, 140.97°)
OKLaboklab(68.31% -0.1621 0.1131)
OKLCHoklch(68.31% 0.198 145.1)
XYZxyz(18.8124, 34.7272, 10.5610)
Luminance0.3473 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB740 #B72AA1
analogous
#5AB72A #2AB740 #2AB787
triadic
#2AB740 #402AB7 #B7402A
tetradic
#2AB740 #2A5AB7 #B72AA1 #B7872A
square
#2AB740 #2A5AB7 #B72AA1 #B7872A
split-complementary
#2AB740 #872AB7 #B72A5A
monochromatic
#13531D #1F852F #2AB740 #49D55F #7BE18B

Accessibility & contrast

On white

2.64
#2AB740 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#2AB740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB740
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB740#FFFFFF#000000##000000
##2AB7401.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA631
Deuteranopia (green-blind)
#AA9B4B
Tritanopia (blue-blind)
#00B29E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #2ab740;
/* rgb */ color: rgb(42, 183, 64);
/* oklch */ color: oklch(68.3% 0.198 145.1);
Tailwind
colors: {
  custom: {
    50: '#7bce7a',
    500: '#2ab740',
    950: '#000000',
  },
}
SCSS
$custom: #2ab740;
$custom-light: #7bce7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab740",
  "rgb": {
    "r": 42,
    "g": 183,
    "b": 64
  },
  "hsl": {
    "h": 129.362,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.68307,
    "c": 0.19762,
    "h": 145.1
  },
  "luminance": 0.34729
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2AB740

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

Preview Lab → · Contrast checker → · Palette generator →

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