#2BAB42#2BAB42

#2BAB42 is a light, vivid green. Relative luminance 0.300; OKLCH L 65.1% C 0.182 H 145.8°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#2BAB42
RGBrgb(43, 171, 66)
HSLhsl(131, 60%, 42%)
HSVhsv(131, 75%, 67%)
CMYKcmyk(74.9%, 0%, 61.4%, 32.9%)
CIE-LABlab(61.68, -55.67, 43.46)
CIE-LCHlch(61.68, 70.63, 142.02°)
OKLaboklab(65.12% -0.1501 0.1021)
OKLCHoklch(65.12% 0.182 145.8)
XYZxyz(16.5414, 30.0309, 10.0780)
Luminance0.3003 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2BAB42 #AB2B94
analogous
#54AB2B #2BAB42 #2BAB82
triadic
#2BAB42 #422BAB #AB422B
tetradic
#2BAB42 #2B54AB #AB2B94 #AB822B
square
#2BAB42 #2B54AB #AB2B94 #AB822B
split-complementary
#2BAB42 #822BAB #AB2B54
monochromatic
#12491C #1F7A2F #2BAB42 #43D05D #74DC87

Accessibility & contrast

On white

3.00
#2BAB42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#2BAB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2BAB42
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2BAB42#FFFFFF#000000##000000
##2BAB421.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B37
Deuteranopia (green-blind)
#9F914B
Tritanopia (blue-blind)
#00A794
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #2bab42;
/* rgb */ color: rgb(43, 171, 66);
/* oklch */ color: oklch(65.1% 0.182 145.8);
Tailwind
colors: {
  custom: {
    50: '#79c57a',
    500: '#2bab42',
    950: '#000000',
  },
}
SCSS
$custom: #2bab42;
$custom-light: #79c57a;
$custom-dark: #000000;
JSON
{
  "hex": "#2bab42",
  "rgb": {
    "r": 43,
    "g": 171,
    "b": 66
  },
  "hsl": {
    "h": 130.781,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.6512,
    "c": 0.18158,
    "h": 145.8
  },
  "luminance": 0.30033
}

Semantic roles & 50–950 ramp

primary
#2BAB42
secondary
#C46EB4
accent
#45C7E3
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0A1309
muted
#7C827B

Preview Lab

Preview with #2BAB42

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

Preview Lab → · Contrast checker → · Palette generator →

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