#2BB840#2BB840

#2BB840 is a light, vivid green. Relative luminance 0.352; OKLCH L 68.6% C 0.199 H 145.0°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#2BB840
RGBrgb(43, 184, 64)
HSLhsl(129, 62%, 45%)
HSVhsv(129, 77%, 72%)
CMYKcmyk(76.6%, 0%, 65.2%, 27.8%)
CIE-LABlab(65.88, -60.24, 49.07)
CIE-LCHlch(65.88, 77.70, 140.84°)
OKLaboklab(68.59% -0.1626 0.1139)
OKLCHoklch(68.59% 0.199 145)
XYZxyz(19.0608, 35.1625, 10.6320)
Luminance0.3517 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2BB840 #B82BA3
analogous
#5DB82B #2BB840 #2BB887
triadic
#2BB840 #402BB8 #B8402B
tetradic
#2BB840 #2B5DB8 #B82BA3 #B8872B
square
#2BB840 #2B5DB8 #B82BA3 #B8872B
split-complementary
#2BB840 #872BB8 #B82B5D
monochromatic
#14551D #1F862F #2BB840 #4BD560 #7DE18C

Accessibility & contrast

On white

2.61
#2BB840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#2BB840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2BB840
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2BB840#FFFFFF#000000##000000
##2BB8401.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA731
Deuteranopia (green-blind)
#AB9C4B
Tritanopia (blue-blind)
#00B39F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #2bb840;
/* rgb */ color: rgb(43, 184, 64);
/* oklch */ color: oklch(68.6% 0.199 145.0);
Tailwind
colors: {
  custom: {
    50: '#7ccf7a',
    500: '#2bb840',
    950: '#000000',
  },
}
SCSS
$custom: #2bb840;
$custom-light: #7ccf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2bb840",
  "rgb": {
    "r": 43,
    "g": 184,
    "b": 64
  },
  "hsl": {
    "h": 128.936,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68593,
    "c": 0.19852,
    "h": 145
  },
  "luminance": 0.35165
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2BB840

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

Preview Lab → · Contrast checker → · Palette generator →

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