#2AB43B#2AB43B

#2AB43B is a light, vivid green. Relative luminance 0.335; OKLCH L 67.5% C 0.198 H 144.5°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#2AB43B
RGBrgb(42, 180, 59)
HSLhsl(127, 62%, 44%)
HSVhsv(127, 77%, 71%)
CMYKcmyk(76.7%, 0%, 67.2%, 29.4%)
CIE-LABlab(64.52, -59.61, 49.69)
CIE-LCHlch(64.52, 77.60, 140.18°)
OKLaboklab(67.45% -0.161 0.1147)
OKLCHoklch(67.45% 0.198 144.5)
XYZxyz(18.0643, 33.4484, 9.6410)
Luminance0.3345 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB43B #B42AA3
analogous
#5EB42A #2AB43B #2AB480
triadic
#2AB43B #3B2AB4 #B43B2A
tetradic
#2AB43B #2A5EB4 #B42AA3 #B4802A
square
#2AB43B #2A5EB4 #B42AA3 #B4802A
split-complementary
#2AB43B #802AB4 #B42A5E
monochromatic
#13511A #1E822B #2AB43B #47D458 #79E085

Accessibility & contrast

On white

2.73
#2AB43B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#2AB43B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB43B
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB43B#FFFFFF#000000##000000
##2AB43B1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A32B
Deuteranopia (green-blind)
#A89846
Tritanopia (blue-blind)
#00AF9B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #2ab43b;
/* rgb */ color: rgb(42, 180, 59);
/* oklch */ color: oklch(67.5% 0.198 144.5);
Tailwind
colors: {
  custom: {
    50: '#7bcc77',
    500: '#2ab43b',
    950: '#000000',
  },
}
SCSS
$custom: #2ab43b;
$custom-light: #7bcc77;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab43b",
  "rgb": {
    "r": 42,
    "g": 180,
    "b": 59
  },
  "hsl": {
    "h": 127.391,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.67452,
    "c": 0.19769,
    "h": 144.5
  },
  "luminance": 0.33451
}

Semantic roles & 50–950 ramp

primary
#2AB43B
secondary
#C872BD
accent
#43D1E5
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #2AB43B

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

Preview Lab → · Contrast checker → · Palette generator →

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