#2AB541#2AB541

#2AB541 is a light, vivid green. Relative luminance 0.339; OKLCH L 67.8% C 0.195 H 145.3°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#2AB541
RGBrgb(42, 181, 65)
HSLhsl(130, 62%, 44%)
HSVhsv(130, 77%, 71%)
CMYKcmyk(76.8%, 0%, 64.1%, 29%)
CIE-LABlab(64.90, -59.29, 47.55)
CIE-LCHlch(64.90, 76.00, 141.27°)
OKLaboklab(67.78% -0.1599 0.1108)
OKLCHoklch(67.78% 0.195 145.3)
XYZxyz(18.4315, 33.9195, 10.5757)
Luminance0.3392 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB541 #B52A9E
analogous
#58B52A #2AB541 #2AB586
triadic
#2AB541 #412AB5 #B5412A
tetradic
#2AB541 #2A58B5 #B52A9E #B5862A
square
#2AB541 #2A58B5 #B52A9E #B5862A
split-complementary
#2AB541 #862AB5 #B52A58
monochromatic
#13521D #1E832F #2AB541 #48D45F #79E08A

Accessibility & contrast

On white

2.70
#2AB541 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#2AB541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB541
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB541#FFFFFF#000000##000000
##2AB5411.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A433
Deuteranopia (green-blind)
#A8994B
Tritanopia (blue-blind)
#00B09D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #2ab541;
/* rgb */ color: rgb(42, 181, 65);
/* oklch */ color: oklch(67.8% 0.195 145.3);
Tailwind
colors: {
  custom: {
    50: '#7bcc7a',
    500: '#2ab541',
    950: '#000000',
  },
}
SCSS
$custom: #2ab541;
$custom-light: #7bcc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab541",
  "rgb": {
    "r": 42,
    "g": 181,
    "b": 65
  },
  "hsl": {
    "h": 129.928,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.67781,
    "c": 0.19455,
    "h": 145.3
  },
  "luminance": 0.33922
}

Semantic roles & 50–950 ramp

primary
#2AB541
secondary
#C873BA
accent
#42CAE5
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B1409
muted
#7C827B

Preview Lab

Preview with #2AB541

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

Preview Lab → · Contrast checker → · Palette generator →

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