#2BB31C#2BB31C

#2BB31C is a light, highly saturated green. Relative luminance 0.328; OKLCH L 67.0% C 0.213 H 141.8°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#2BB31C
RGBrgb(43, 179, 28)
HSLhsl(114, 73%, 41%)
HSVhsv(114, 84%, 70%)
CMYKcmyk(76%, 0%, 84.4%, 29.8%)
CIE-LABlab(64.03, -61.45, 59.72)
CIE-LCHlch(64.03, 85.69, 135.82°)
OKLaboklab(66.99% -0.1674 0.1317)
OKLCHoklch(66.99% 0.213 141.8)
XYZxyz(17.3249, 32.8356, 6.5232)
Luminance0.3284 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2BB31C #A41CB3
analogous
#76B31C #2BB31C #1CB359
triadic
#2BB31C #1C2BB3 #B31C2B
tetradic
#2BB31C #1C76B3 #A41CB3 #B3591C
square
#2BB31C #1C76B3 #A41CB3 #B3591C
split-complementary
#2BB31C #591CB3 #B31C76
monochromatic
#12490B #1E7E14 #2BB31C #3FDE2E #70E763

Accessibility & contrast

On white

2.77
#2BB31C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#2BB31C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2BB31C
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2BB31C#FFFFFF#000000##000000
##2BB31C1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#A99731
Tritanopia (blue-blind)
#00AD98
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #2bb31c;
/* rgb */ color: rgb(43, 179, 28);
/* oklch */ color: oklch(67.0% 0.213 141.8);
Tailwind
colors: {
  custom: {
    50: '#7ccb68',
    500: '#2bb31c',
    950: '#000000',
  },
}
SCSS
$custom: #2bb31c;
$custom-light: #7ccb68;
$custom-dark: #000000;
JSON
{
  "hex": "#2bb31c",
  "rgb": {
    "r": 43,
    "g": 179,
    "b": 28
  },
  "hsl": {
    "h": 114.04,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.66986,
    "c": 0.21298,
    "h": 141.8
  },
  "luminance": 0.32838
}

Semantic roles & 50–950 ramp

primary
#2BB31C
secondary
#C15FCB
accent
#38F0DD
background
#F8FCF6
surface
#EFF9EB
border
#CAD2C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #2BB31C

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

Preview Lab → · Contrast checker → · Palette generator →

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