#2BAB28#2BAB28

#2BAB28 is a light, vivid green. Relative luminance 0.298; OKLCH L 64.9% C 0.199 H 142.6°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#2BAB28
RGBrgb(43, 171, 40)
HSLhsl(119, 62%, 41%)
HSVhsv(119, 77%, 67%)
CMYKcmyk(74.9%, 0%, 76.6%, 32.9%)
CIE-LABlab(61.47, -58.20, 53.77)
CIE-LCHlch(61.47, 79.24, 137.26°)
OKLaboklab(64.88% -0.1581 0.1209)
OKLCHoklch(64.88% 0.199 142.6)
XYZxyz(15.9412, 29.7908, 6.9171)
Luminance0.2979 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2BAB28 #A828AB
analogous
#6DAB28 #2BAB28 #28AB67
triadic
#2BAB28 #282BAB #AB282B
tetradic
#2BAB28 #286DAB #A828AB #AB6728
square
#2BAB28 #286DAB #A828AB #AB6728
split-complementary
#2BAB28 #6728AB #AB286D
monochromatic
#124811 #1F791C #2BAB28 #42D23E #72DE70

Accessibility & contrast

On white

3.02
#2BAB28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#2BAB28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2BAB28
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2BAB28#FFFFFF#000000##000000
##2BAB281.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A09
Deuteranopia (green-blind)
#A19137
Tritanopia (blue-blind)
#00A692
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #2bab28;
/* rgb */ color: rgb(43, 171, 40);
/* oklch */ color: oklch(64.9% 0.199 142.6);
Tailwind
colors: {
  custom: {
    50: '#7ac56c',
    500: '#2bab28',
    950: '#000000',
  },
}
SCSS
$custom: #2bab28;
$custom-light: #7ac56c;
$custom-dark: #000000;
JSON
{
  "hex": "#2bab28",
  "rgb": {
    "r": 43,
    "g": 171,
    "b": 40
  },
  "hsl": {
    "h": 118.626,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.64881,
    "c": 0.19901,
    "h": 142.6
  },
  "luminance": 0.29793
}

Semantic roles & 50–950 ramp

primary
#2BAB28
secondary
#C26AC4
accent
#43E5E1
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #2BAB28

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

Preview Lab → · Contrast checker → · Palette generator →

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