#2AB542#2AB542

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

Color values

HEX#2AB542
RGBrgb(42, 181, 66)
HSLhsl(130, 62%, 44%)
HSVhsv(130, 77%, 71%)
CMYKcmyk(76.8%, 0%, 63.5%, 29%)
CIE-LABlab(64.91, -59.18, 47.12)
CIE-LCHlch(64.91, 75.65, 141.47°)
OKLaboklab(67.79% -0.1596 0.11)
OKLCHoklch(67.79% 0.194 145.4)
XYZxyz(18.4608, 33.9312, 10.7296)
Luminance0.3393 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB542 #B52A9D
analogous
#57B52A #2AB542 #2AB587
triadic
#2AB542 #422AB5 #B5422A
tetradic
#2AB542 #2A57B5 #B52A9D #B5872A
square
#2AB542 #2A57B5 #B52A9D #B5872A
split-complementary
#2AB542 #872AB5 #B52A57
monochromatic
#13521E #1E8330 #2AB542 #48D460 #79E08B

Accessibility & contrast

On white

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

On black

7.79
#2AB542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB542
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB542#FFFFFF#000000##000000
##2AB5421.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2ab542;
/* rgb */ color: rgb(42, 181, 66);
/* oklch */ color: oklch(67.8% 0.194 145.4);
Tailwind
colors: {
  custom: {
    50: '#7bcc7b',
    500: '#2ab542',
    950: '#000000',
  },
}
SCSS
$custom: #2ab542;
$custom-light: #7bcc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab542",
  "rgb": {
    "r": 42,
    "g": 181,
    "b": 66
  },
  "hsl": {
    "h": 130.36,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.67792,
    "c": 0.1938,
    "h": 145.4
  },
  "luminance": 0.33933
}

Semantic roles & 50–950 ramp

primary
#2AB542
secondary
#C873B9
accent
#42C9E5
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #2AB542

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

Preview Lab → · Contrast checker → · Palette generator →

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