#2AB640#2AB640

#2AB640 is a light, vivid green. Relative luminance 0.343; OKLCH L 68.0% C 0.196 H 145.1°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#2AB640
RGBrgb(42, 182, 64)
HSLhsl(129, 63%, 44%)
HSVhsv(129, 77%, 71%)
CMYKcmyk(76.9%, 0%, 64.8%, 28.6%)
CIE-LABlab(65.21, -59.73, 48.33)
CIE-LCHlch(65.21, 76.83, 141.02°)
OKLaboklab(68.04% -0.1612 0.1123)
OKLCHoklch(68.04% 0.196 145.1)
XYZxyz(18.6069, 34.3161, 10.4925)
Luminance0.3432 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB640 #B62AA0
analogous
#5AB62A #2AB640 #2AB686
triadic
#2AB640 #402AB6 #B6402A
tetradic
#2AB640 #2A5AB6 #B62AA0 #B6862A
square
#2AB640 #2A5AB6 #B62AA0 #B6862A
split-complementary
#2AB640 #862AB6 #B62A5A
monochromatic
#13531D #1F842F #2AB640 #48D55E #7AE08A

Accessibility & contrast

On white

2.67
#2AB640 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#2AB640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB640
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB640#FFFFFF#000000##000000
##2AB6401.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A532
Deuteranopia (green-blind)
#AA9A4B
Tritanopia (blue-blind)
#00B19D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #2ab640;
/* rgb */ color: rgb(42, 182, 64);
/* oklch */ color: oklch(68.0% 0.196 145.1);
Tailwind
colors: {
  custom: {
    50: '#7bcd7a',
    500: '#2ab640',
    950: '#000000',
  },
}
SCSS
$custom: #2ab640;
$custom-light: #7bcd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab640",
  "rgb": {
    "r": 42,
    "g": 182,
    "b": 64
  },
  "hsl": {
    "h": 129.429,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.68039,
    "c": 0.19646,
    "h": 145.1
  },
  "luminance": 0.34318
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2AB640

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

Preview Lab → · Contrast checker → · Palette generator →

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