#2BB228#2BB228

#2BB228 is a light, highly saturated green. Relative luminance 0.325; OKLCH L 66.8% C 0.207 H 142.6°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#2BB228
RGBrgb(43, 178, 40)
HSLhsl(119, 63%, 43%)
HSVhsv(119, 78%, 70%)
CMYKcmyk(75.8%, 0%, 77.5%, 30.2%)
CIE-LABlab(63.76, -60.43, 56.01)
CIE-LCHlch(63.76, 82.40, 137.18°)
OKLaboklab(66.78% -0.1642 0.1255)
OKLCHoklch(66.78% 0.207 142.6)
XYZxyz(17.2986, 32.5056, 7.3696)
Luminance0.3251 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2BB228 #AF28B2
analogous
#70B228 #2BB228 #28B26A
triadic
#2BB228 #282BB2 #B2282B
tetradic
#2BB228 #2870B2 #AF28B2 #B26A28
square
#2BB228 #2870B2 #AF28B2 #B26A28
split-complementary
#2BB228 #6A28B2 #B22870
monochromatic
#134E12 #1F801D #2BB228 #46D543 #77E075

Accessibility & contrast

On white

2.80
#2BB228 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#2BB228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2BB228
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2BB228#FFFFFF#000000##000000
##2BB2281.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A103
Deuteranopia (green-blind)
#A79638
Tritanopia (blue-blind)
#00AD98
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #2bb228;
/* rgb */ color: rgb(43, 178, 40);
/* oklch */ color: oklch(66.8% 0.207 142.6);
Tailwind
colors: {
  custom: {
    50: '#7bca6c',
    500: '#2bb228',
    950: '#000000',
  },
}
SCSS
$custom: #2bb228;
$custom-light: #7bca6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2bb228",
  "rgb": {
    "r": 43,
    "g": 178,
    "b": 40
  },
  "hsl": {
    "h": 118.696,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.6678,
    "c": 0.20666,
    "h": 142.6
  },
  "luminance": 0.32508
}

Semantic roles & 50–950 ramp

primary
#2BB228
secondary
#C56FC7
accent
#41E6E3
background
#F8FCF6
surface
#EFF9EC
border
#CAD2C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #2BB228

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

Preview Lab → · Contrast checker → · Palette generator →

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