#2AB151#2AB151

#2AB151 is a light, vivid green. Relative luminance 0.325; OKLCH L 66.9% C 0.177 H 148.2°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#2AB151
RGBrgb(42, 177, 81)
HSLhsl(137, 62%, 43%)
HSVhsv(137, 76%, 69%)
CMYKcmyk(76.3%, 0%, 54.2%, 30.6%)
CIE-LABlab(63.78, -55.88, 38.80)
CIE-LCHlch(63.78, 68.03, 145.23°)
OKLaboklab(66.91% -0.1502 0.0931)
OKLCHoklch(66.91% 0.177 148.2)
XYZxyz(18.1608, 32.5285, 13.1045)
Luminance0.3253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB151 #B12A8A
analogous
#47B12A #2AB151 #2AB194
triadic
#2AB151 #512AB1 #B1512A
tetradic
#2AB151 #2A47B1 #B12A8A #B1942A
square
#2AB151 #2A47B1 #B12A8A #B1942A
split-complementary
#2AB151 #942AB1 #B12A47
monochromatic
#134E24 #1E803A #2AB151 #45D36E #77DF95

Accessibility & contrast

On white

2.80
#2AB151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#2AB151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB151
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB151#FFFFFF#000000##000000
##2AB1511.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A148
Deuteranopia (green-blind)
#A39658
Tritanopia (blue-blind)
#00AD9B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #2ab151;
/* rgb */ color: rgb(42, 177, 81);
/* oklch */ color: oklch(66.9% 0.177 148.2);
Tailwind
colors: {
  custom: {
    50: '#79c984',
    500: '#2ab151',
    950: '#000000',
  },
}
SCSS
$custom: #2ab151;
$custom-light: #79c984;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab151",
  "rgb": {
    "r": 42,
    "g": 177,
    "b": 81
  },
  "hsl": {
    "h": 137.333,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.66906,
    "c": 0.17677,
    "h": 148.2
  },
  "luminance": 0.32531
}

Semantic roles & 50–950 ramp

primary
#2AB151
secondary
#C670AE
accent
#43B6E5
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #2AB151

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

Preview Lab → · Contrast checker → · Palette generator →

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