#2AB548#2AB548

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

Color values

HEX#2AB548
RGBrgb(42, 181, 72)
HSLhsl(133, 62%, 44%)
HSVhsv(133, 77%, 71%)
CMYKcmyk(76.8%, 0%, 60.2%, 29%)
CIE-LABlab(64.97, -58.46, 44.49)
CIE-LCHlch(64.97, 73.47, 142.73°)
OKLaboklab(67.86% -0.1574 0.1049)
OKLCHoklch(67.86% 0.189 146.3)
XYZxyz(18.6470, 34.0057, 11.7106)
Luminance0.3401 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB548 #B52A97
analogous
#51B52A #2AB548 #2AB58D
triadic
#2AB548 #482AB5 #B5482A
tetradic
#2AB548 #2A51B5 #B52A97 #B58D2A
square
#2AB548 #2A51B5 #B52A97 #B58D2A
split-complementary
#2AB548 #8D2AB5 #B52A51
monochromatic
#135220 #1E8334 #2AB548 #48D466 #79E090

Accessibility & contrast

On white

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

On black

7.80
#2AB548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB548
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB548#FFFFFF#000000##000000
##2AB5481.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A43C
Deuteranopia (green-blind)
#A89951
Tritanopia (blue-blind)
#00B19D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #2ab548;
/* rgb */ color: rgb(42, 181, 72);
/* oklch */ color: oklch(67.9% 0.189 146.3);
Tailwind
colors: {
  custom: {
    50: '#7acc7f',
    500: '#2ab548',
    950: '#000000',
  },
}
SCSS
$custom: #2ab548;
$custom-light: #7acc7f;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab548",
  "rgb": {
    "r": 42,
    "g": 181,
    "b": 72
  },
  "hsl": {
    "h": 132.95,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.6786,
    "c": 0.18917,
    "h": 146.3
  },
  "luminance": 0.34008
}

Semantic roles & 50–950 ramp

primary
#2AB548
secondary
#C873B6
accent
#42C2E5
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #2AB548

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

Preview Lab → · Contrast checker → · Palette generator →

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