#2BB940#2BB940

#2BB940 is a light, vivid green. Relative luminance 0.356; OKLCH L 68.9% C 0.200 H 145.0°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#2BB940
RGBrgb(43, 185, 64)
HSLhsl(129, 62%, 45%)
HSVhsv(129, 77%, 73%)
CMYKcmyk(76.8%, 0%, 65.4%, 27.5%)
CIE-LABlab(66.20, -60.57, 49.42)
CIE-LCHlch(66.20, 78.17, 140.79°)
OKLaboklab(68.86% -0.1635 0.1147)
OKLCHoklch(68.86% 0.2 145)
XYZxyz(19.2693, 35.5794, 10.7015)
Luminance0.3558 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2BB940 #B92BA4
analogous
#5DB92B #2BB940 #2BB987
triadic
#2BB940 #402BB9 #B9402B
tetradic
#2BB940 #2B5DB9 #B92BA4 #B9872B
square
#2BB940 #2B5DB9 #B92BA4 #B9872B
split-complementary
#2BB940 #872BB9 #B92B5D
monochromatic
#14561E #1F872F #2BB940 #4CD560 #7EE18C

Accessibility & contrast

On white

2.59
#2BB940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#2BB940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2BB940
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2BB940#FFFFFF#000000##000000
##2BB9401.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA831
Deuteranopia (green-blind)
#AC9D4B
Tritanopia (blue-blind)
#00B4A0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #2bb940;
/* rgb */ color: rgb(43, 185, 64);
/* oklch */ color: oklch(68.9% 0.200 145.0);
Tailwind
colors: {
  custom: {
    50: '#7ccf7a',
    500: '#2bb940',
    950: '#000000',
  },
}
SCSS
$custom: #2bb940;
$custom-light: #7ccf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2bb940",
  "rgb": {
    "r": 43,
    "g": 185,
    "b": 64
  },
  "hsl": {
    "h": 128.873,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68861,
    "c": 0.19968,
    "h": 145
  },
  "luminance": 0.35582
}

Semantic roles & 50–950 ramp

primary
#2BB940
secondary
#C976BD
accent
#42CDE5
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B1409
muted
#7C827B

Preview Lab

Preview with #2BB940

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

Preview Lab → · Contrast checker → · Palette generator →

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