#2AB54B#2AB54B

#2AB54B is a light, vivid green. Relative luminance 0.340; OKLCH L 67.9% C 0.187 H 146.8°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#2AB54B
RGBrgb(42, 181, 75)
HSLhsl(134, 62%, 44%)
HSVhsv(134, 77%, 71%)
CMYKcmyk(76.8%, 0%, 58.6%, 29%)
CIE-LABlab(65.00, -58.08, 43.13)
CIE-LCHlch(65.00, 72.35, 143.40°)
OKLaboklab(67.9% -0.1563 0.1022)
OKLCHoklch(67.9% 0.187 146.8)
XYZxyz(18.7473, 34.0458, 12.2387)
Luminance0.3405 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB54B #B52A94
analogous
#4EB52A #2AB54B #2AB590
triadic
#2AB54B #4B2AB5 #B54B2A
tetradic
#2AB54B #2A4EB5 #B52A94 #B5902A
square
#2AB54B #2A4EB5 #B52A94 #B5902A
split-complementary
#2AB54B #902AB5 #B52A4E
monochromatic
#135222 #1E8336 #2AB54B #48D469 #79E092

Accessibility & contrast

On white

2.69
#2AB54B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#2AB54B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB54B
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB54B#FFFFFF#000000##000000
##2AB54B1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A440
Deuteranopia (green-blind)
#A89954
Tritanopia (blue-blind)
#00B19E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #2ab54b;
/* rgb */ color: rgb(42, 181, 75);
/* oklch */ color: oklch(67.9% 0.187 146.8);
Tailwind
colors: {
  custom: {
    50: '#7acc80',
    500: '#2ab54b',
    950: '#000000',
  },
}
SCSS
$custom: #2ab54b;
$custom-light: #7acc80;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab54b",
  "rgb": {
    "r": 42,
    "g": 181,
    "b": 75
  },
  "hsl": {
    "h": 134.245,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.67896,
    "c": 0.18675,
    "h": 146.8
  },
  "luminance": 0.34048
}

Semantic roles & 50–950 ramp

primary
#2AB54B
secondary
#C873B4
accent
#42BFE5
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #2AB54B

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

Preview Lab → · Contrast checker → · Palette generator →

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