#2AB841#2AB841

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

Color values

HEX#2AB841
RGBrgb(42, 184, 65)
HSLhsl(130, 63%, 44%)
HSVhsv(130, 77%, 72%)
CMYKcmyk(77.2%, 0%, 64.7%, 27.8%)
CIE-LABlab(65.87, -60.28, 48.62)
CIE-LCHlch(65.87, 77.44, 141.11°)
OKLaboklab(68.58% -0.1626 0.1131)
OKLCHoklch(68.58% 0.198 145.2)
XYZxyz(19.0481, 35.1526, 10.7812)
Luminance0.3515 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB841 #B82AA1
analogous
#5AB82A #2AB841 #2AB888
triadic
#2AB841 #412AB8 #B8412A
tetradic
#2AB841 #2A5AB8 #B82AA1 #B8882A
square
#2AB841 #2A5AB8 #B82AA1 #B8882A
split-complementary
#2AB841 #882AB8 #B82A5A
monochromatic
#13541E #1F862F #2AB841 #4AD660 #7BE18C

Accessibility & contrast

On white

2.61
#2AB841 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2AB841#FFFFFF#000000##000000
##2AB8411.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2ab841;
/* rgb */ color: rgb(42, 184, 65);
/* oklch */ color: oklch(68.6% 0.198 145.2);
Tailwind
colors: {
  custom: {
    50: '#7bcf7a',
    500: '#2ab841',
    950: '#000000',
  },
}
SCSS
$custom: #2ab841;
$custom-light: #7bcf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab841",
  "rgb": {
    "r": 42,
    "g": 184,
    "b": 65
  },
  "hsl": {
    "h": 129.718,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.68585,
    "c": 0.19806,
    "h": 145.2
  },
  "luminance": 0.35155
}

Semantic roles & 50–950 ramp

primary
#2AB841
secondary
#C975BB
accent
#42CBE6
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #2AB841

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

Preview Lab → · Contrast checker → · Palette generator →

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