#2AB842#2AB842

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

Color values

HEX#2AB842
RGBrgb(42, 184, 66)
HSLhsl(130, 63%, 44%)
HSVhsv(130, 77%, 72%)
CMYKcmyk(77.2%, 0%, 64.1%, 27.8%)
CIE-LABlab(65.88, -60.17, 48.20)
CIE-LCHlch(65.88, 77.09, 141.30°)
OKLaboklab(68.6% -0.1623 0.1123)
OKLCHoklch(68.6% 0.197 145.3)
XYZxyz(19.0773, 35.1643, 10.9352)
Luminance0.3517 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB842 #B82AA0
analogous
#59B82A #2AB842 #2AB889
triadic
#2AB842 #422AB8 #B8422A
tetradic
#2AB842 #2A59B8 #B82AA0 #B8892A
square
#2AB842 #2A59B8 #B82AA0 #B8892A
split-complementary
#2AB842 #892AB8 #B82A59
monochromatic
#13541E #1F8630 #2AB842 #4AD661 #7BE18D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2AB842#FFFFFF#000000##000000
##2AB8421.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)
#BBA734
Deuteranopia (green-blind)
#AB9C4C
Tritanopia (blue-blind)
#00B39F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #2ab842;
/* rgb */ color: rgb(42, 184, 66);
/* oklch */ color: oklch(68.6% 0.197 145.3);
Tailwind
colors: {
  custom: {
    50: '#7bcf7b',
    500: '#2ab842',
    950: '#000000',
  },
}
SCSS
$custom: #2ab842;
$custom-light: #7bcf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab842",
  "rgb": {
    "r": 42,
    "g": 184,
    "b": 66
  },
  "hsl": {
    "h": 130.141,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.68595,
    "c": 0.19732,
    "h": 145.3
  },
  "luminance": 0.35167
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2AB842

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

Preview Lab → · Contrast checker → · Palette generator →

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