#2BA51F#2BA51F

#2BA51F is a light, vivid green. Relative luminance 0.275; OKLCH L 63.2% C 0.197 H 141.9°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#2BA51F
RGBrgb(43, 165, 31)
HSLhsl(115, 68%, 38%)
HSVhsv(115, 81%, 65%)
CMYKcmyk(73.9%, 0%, 81.2%, 35.3%)
CIE-LABlab(59.45, -56.86, 54.70)
CIE-LCHlch(59.45, 78.89, 136.11°)
OKLaboklab(63.19% -0.1549 0.1215)
OKLCHoklch(63.19% 0.197 141.9)
XYZxyz(14.6979, 27.5211, 5.8336)
Luminance0.2752 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2BA51F #991FA5
analogous
#6EA51F #2BA51F #1FA556
triadic
#2BA51F #1F2BA5 #A51F2B
tetradic
#2BA51F #1F6EA5 #991FA5 #A5561F
square
#2BA51F #1F6EA5 #991FA5 #A5561F
split-complementary
#2BA51F #561FA5 #A51F6E
monochromatic
#103E0C #1E7115 #2BA51F #3AD72A #69E15E

Accessibility & contrast

On white

3.23
#2BA51F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#2BA51F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2BA51F
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2BA51F#FFFFFF#000000##000000
##2BA51F1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#9B8C30
Tritanopia (blue-blind)
#00A08D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #2ba51f;
/* rgb */ color: rgb(43, 165, 31);
/* oklch */ color: oklch(63.2% 0.197 141.9);
Tailwind
colors: {
  custom: {
    50: '#79c167',
    500: '#2ba51f',
    950: '#000000',
  },
}
SCSS
$custom: #2ba51f;
$custom-light: #79c167;
$custom-dark: #000000;
JSON
{
  "hex": "#2ba51f",
  "rgb": {
    "r": 43,
    "g": 165,
    "b": 31
  },
  "hsl": {
    "h": 114.627,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63187,
    "c": 0.19689,
    "h": 141.9
  },
  "luminance": 0.27523
}

Semantic roles & 50–950 ramp

primary
#2BA51F
secondary
#BC5BC5
accent
#3DEBDC
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1206
muted
#7C817A

Preview Lab

Preview with #2BA51F

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

Preview Lab → · Contrast checker → · Palette generator →

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