#2AB947#2AB947

#2AB947 is a light, vivid green. Relative luminance 0.356; OKLCH L 68.9% C 0.195 H 146.0°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#2AB947
RGBrgb(42, 185, 71)
HSLhsl(132, 63%, 45%)
HSVhsv(132, 77%, 73%)
CMYKcmyk(77.3%, 0%, 61.6%, 27.5%)
CIE-LABlab(66.25, -59.92, 46.41)
CIE-LCHlch(66.25, 75.79, 142.24°)
OKLaboklab(68.92% -0.1614 0.1089)
OKLCHoklch(68.92% 0.195 146)
XYZxyz(19.4397, 35.6428, 11.8152)
Luminance0.3564 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB947 #B92A9C
analogous
#54B92A #2AB947 #2AB98F
triadic
#2AB947 #472AB9 #B9472A
tetradic
#2AB947 #2A54B9 #B92A9C #B98F2A
square
#2AB947 #2A54B9 #B92A9C #B98F2A
split-complementary
#2AB947 #8F2AB9 #B92A54
monochromatic
#135521 #1F8734 #2AB947 #4AD667 #7CE191

Accessibility & contrast

On white

2.58
#2AB947 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#2AB947 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB947
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB947#FFFFFF#000000##000000
##2AB9471.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA83A
Deuteranopia (green-blind)
#AC9D51
Tritanopia (blue-blind)
#00B4A1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #2ab947;
/* rgb */ color: rgb(42, 185, 71);
/* oklch */ color: oklch(68.9% 0.195 146.0);
Tailwind
colors: {
  custom: {
    50: '#7bcf7e',
    500: '#2ab947',
    950: '#000000',
  },
}
SCSS
$custom: #2ab947;
$custom-light: #7bcf7e;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab947",
  "rgb": {
    "r": 42,
    "g": 185,
    "b": 71
  },
  "hsl": {
    "h": 132.168,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68918,
    "c": 0.19472,
    "h": 146
  },
  "luminance": 0.35645
}

Semantic roles & 50–950 ramp

primary
#2AB947
secondary
#CA75B8
accent
#42C5E6
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #2AB947

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

Preview Lab → · Contrast checker → · Palette generator →

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