#2BA71F#2BA71F

#2BA71F is a light, vivid green. Relative luminance 0.282; OKLCH L 63.7% C 0.199 H 141.9°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#2BA71F
RGBrgb(43, 167, 31)
HSLhsl(115, 69%, 39%)
HSVhsv(115, 81%, 65%)
CMYKcmyk(74.3%, 0%, 81.4%, 34.5%)
CIE-LABlab(60.11, -57.50, 55.31)
CIE-LCHlch(60.11, 79.79, 136.11°)
OKLaboklab(63.74% -0.1566 0.1228)
OKLCHoklch(63.74% 0.199 141.9)
XYZxyz(15.0614, 28.2482, 5.9548)
Luminance0.2825 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2BA71F #9B1FA7
analogous
#6FA71F #2BA71F #1FA757
triadic
#2BA71F #1F2BA7 #A71F2B
tetradic
#2BA71F #1F6FA7 #9B1FA7 #A7571F
square
#2BA71F #1F6FA7 #9B1FA7 #A7571F
split-complementary
#2BA71F #571FA7 #A71F6F
monochromatic
#10400C #1E7315 #2BA71F #3BD82B #6BE15F

Accessibility & contrast

On white

3.16
#2BA71F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#2BA71F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2BA71F
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2BA71F#FFFFFF#000000##000000
##2BA71F1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#9D8D30
Tritanopia (blue-blind)
#00A28E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #2ba71f;
/* rgb */ color: rgb(43, 167, 31);
/* oklch */ color: oklch(63.7% 0.199 141.9);
Tailwind
colors: {
  custom: {
    50: '#79c267',
    500: '#2ba71f',
    950: '#000000',
  },
}
SCSS
$custom: #2ba71f;
$custom-light: #79c267;
$custom-dark: #000000;
JSON
{
  "hex": "#2ba71f",
  "rgb": {
    "r": 43,
    "g": 167,
    "b": 31
  },
  "hsl": {
    "h": 114.706,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63735,
    "c": 0.19906,
    "h": 141.9
  },
  "luminance": 0.2825
}

Semantic roles & 50–950 ramp

primary
#2BA71F
secondary
#BC5CC6
accent
#3CECDC
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #2BA71F

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

Preview Lab → · Contrast checker → · Palette generator →

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