#2BAB31#2BAB31

#2BAB31 is a light, vivid green. Relative luminance 0.299; OKLCH L 64.9% C 0.194 H 143.5°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#2BAB31
RGBrgb(43, 171, 49)
HSLhsl(123, 60%, 42%)
HSVhsv(123, 75%, 67%)
CMYKcmyk(74.9%, 0%, 71.3%, 32.9%)
CIE-LABlab(61.53, -57.47, 50.55)
CIE-LCHlch(61.53, 76.53, 138.67°)
OKLaboklab(64.95% -0.1557 0.1153)
OKLCHoklch(64.95% 0.194 143.5)
XYZxyz(16.1125, 29.8593, 7.8194)
Luminance0.2986 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2BAB31 #AB2BA5
analogous
#65AB2B #2BAB31 #2BAB71
triadic
#2BAB31 #312BAB #AB312B
tetradic
#2BAB31 #2B65AB #AB2BA5 #AB712B
square
#2BAB31 #2B65AB #AB2BA5 #AB712B
split-complementary
#2BAB31 #712BAB #AB2B65
monochromatic
#124915 #1F7A23 #2BAB31 #43D04A #74DC79

Accessibility & contrast

On white

3.01
#2BAB31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#2BAB31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2BAB31
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2BAB31#FFFFFF#000000##000000
##2BAB311.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1D
Deuteranopia (green-blind)
#A0913D
Tritanopia (blue-blind)
#00A693
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #2bab31;
/* rgb */ color: rgb(43, 171, 49);
/* oklch */ color: oklch(64.9% 0.194 143.5);
Tailwind
colors: {
  custom: {
    50: '#79c570',
    500: '#2bab31',
    950: '#000000',
  },
}
SCSS
$custom: #2bab31;
$custom-light: #79c570;
$custom-dark: #000000;
JSON
{
  "hex": "#2bab31",
  "rgb": {
    "r": 43,
    "g": 171,
    "b": 49
  },
  "hsl": {
    "h": 122.813,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64949,
    "c": 0.19376,
    "h": 143.5
  },
  "luminance": 0.29861
}

Semantic roles & 50–950 ramp

primary
#2BAB31
secondary
#C46EC0
accent
#45DCE3
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #2BAB31

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

Preview Lab → · Contrast checker → · Palette generator →

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