#2AB42A#2AB42A

#2AB42A is a light, highly saturated green. Relative luminance 0.333; OKLCH L 67.3% C 0.208 H 142.8°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#2AB42A
RGBrgb(42, 180, 42)
HSLhsl(120, 62%, 44%)
HSVhsv(120, 77%, 71%)
CMYKcmyk(76.7%, 0%, 76.7%, 29.4%)
CIE-LABlab(64.40, -61.08, 55.97)
CIE-LCHlch(64.40, 82.84, 137.50°)
OKLaboklab(67.31% -0.1658 0.1257)
OKLCHoklch(67.31% 0.208 142.8)
XYZxyz(17.6929, 33.2999, 7.6851)
Luminance0.3330 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB42A #B42AB4
analogous
#6FB42A #2AB42A #2AB46F
triadic
#2AB42A #2A2AB4 #B42A2A
tetradic
#2AB42A #2A6FB4 #B42AB4 #B46F2A
square
#2AB42A #2A6FB4 #B42AB4 #B46F2A
split-complementary
#2AB42A #6F2AB4 #B42A6F
monochromatic
#135113 #1E821E #2AB42A #47D447 #79E079

Accessibility & contrast

On white

2.74
#2AB42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#2AB42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB42A
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB42A#FFFFFF#000000##000000
##2AB42A1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A308
Deuteranopia (green-blind)
#A9983A
Tritanopia (blue-blind)
#00AF9A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #2ab42a;
/* rgb */ color: rgb(42, 180, 42);
/* oklch */ color: oklch(67.3% 0.208 142.8);
Tailwind
colors: {
  custom: {
    50: '#7ccc6e',
    500: '#2ab42a',
    950: '#000000',
  },
}
SCSS
$custom: #2ab42a;
$custom-light: #7ccc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab42a",
  "rgb": {
    "r": 42,
    "g": 180,
    "b": 42
  },
  "hsl": {
    "h": 120,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.67314,
    "c": 0.20806,
    "h": 142.8
  },
  "luminance": 0.33302
}

Semantic roles & 50–950 ramp

primary
#2AB42A
secondary
#C872C8
accent
#43E5E5
background
#F8FCF6
surface
#EFF9EC
border
#CAD2C7
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #2AB42A

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

Preview Lab → · Contrast checker → · Palette generator →

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